Part Number Hot Search : 
B0922BA1 HYB25 M400070 SST25VF 06PBF SMCJ36A LT1EP53A SC460308
Product Description
Full Text Search
 

To Download AMD1027 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  rev. a information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. no license is granted by implication or otherwise under any patent or patent rights of analog devices. trademarks and registered trademarks are the property of their respective companies. one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781/329-4700 www.analog.com fax: 781/326-8703 ? 2003 analog devices, inc. all rights reserved. adm1027 * db cool remote thermal controller and voltage monitor * protected by u.s. patent nos. 6,188,189; 6,169,442; 6,097,239; 5,982,221; and 5,867,012. other patents pending. features monitors up to 5 supply voltages controls and monitors up to 4 fan speeds 1 on-chip and 2 remote temperature sensors monitors up to 5 processor vid bits automatic fan speed control mode controls system cooling based on measured temperature enhanced acoustic mode dramatically reduces user perception of changing fan speeds 2-wire and 3-wire fan speed measurement limit comparison of all monitored values meets smbus 2.0 electrical specifications (fully smbus 1.1 compliant) applications low acoustic noise pcs networking and telecommunications equipment functional block diagram general description the adm1027 db cool controller is a complete systems monitor and multiple pwm fan controller for noise sensitive applications requiring active system cooling. it can monitor 12 v, 5 v, 2.5 v cpu supply voltage, plus its own supply volt- age. it can monitor the temperature of up to two remote sensor diodes, plus its own internal temperature. it can measure and control the speed of up to four fans so that they operate at the lowest possible speed for minimum acoustic noise. the auto- matic fan speed control loop optimizes fan speed for a given temperature. once the control loop parameters are pro grammed, the adm1027 can vary fan speed without cpu intervention. band gap reference 10-bit adc input signal conditioning and analog multiplexer gnd serial bus interface scl sda vid register fan speed counter address pointer register adm1027 value and limit registers limit comparators pwm configuration registers interrupt status registers band gap temp. sensor vid4 vid3 vid2 vid1 vid0 pwm registers and controllers pwm1 pwm2 v cc to adm1027 automatic fan speed control pwm3 tach1 tach2 tach3 tach4 interrupt masking smbalert acoustic enhancement control v cc d1+ d1? d2+ d2? +5v in + 12v in +2.5v in v ccp smbus address selection addr en addr select
rev. a ? adm1027?pecifications 1, 2, 3, 4 (t a = t min to t max (0  c to 105  c), v cc = v min to v max (3 v to 5.5 v), unless otherwise noted.) parameter min typ max unit test conditions/comments power supply supply voltage 3.0 3.3 5.5 v supply current, i cc 1.4 3 ma interface inactive, adc active temp-to-digital converter local sensor accuracy 3 o c0 o c t a 105 o c 2 o c0 o c t a 70 o c 1 o ct a = 40 o c resolution 0.25 o c remote diode sensor accuracy 3 o c0 o c t d 120 o c 1.5 o c0 o c t d 120 o c; 0 o c t a 70 o c 1 o ct a = 40 o c o c0 o c t d 120 o c; t a = 40 o c resolution 0.25 o c remote sensor source current 200 m ah igh level 12 m al ow level analog-to-digital converter (including mux and attenuators) total unadjusted error, tue 0.5 1% all adc inputs except 12 v 1.5 % 12 v input differential nonlinearity, dnl 1 lsb 8 bits power supply sensitivity 0.1 %/v conversion time (voltage input) 11.38 12.29 ms averaging enabled conversion time (local temperature) 12.09 13.05 ms averaging enabled conversion time (remote temperature) 25.59 27.64 ms averaging enabled total monitoring cycle time 120.17 129.78 ms averaging enabled total monitoring cycle time 13.51 14.59 ms averaging disabled input resistance 80 140 250 k fan rpm-to-digital converter accuracy 6%0 o c t a 70 o c 8% 3.0 v v cc 3.6 v full-scale count 65,535 nominal input rpm 109 rpm fan count = 0xbfff 329 rpm fan count = 0x3fff 5,000 rpm fan count = 0x0438 10,000 rpm fan count = 0x021c internal clock frequency 82.8 90 97.2 khz open-drain digital outputs, pwm1?wm3, xto current sink, i ol 8.0 ma output low voltage, v ol 0.4 v i out = ?.0 ma, v cc = 3.3 v high level output current, i oh 0.1 1 m av out = v cc
rev. a adm1027 ? parameter min typ max unit test conditions/comment open-drain serial data bus output (sda) output low voltage, v ol 0.4 v i out = ?.0 ma, v cc = 3.3 v high level output current, i oh 0.1 1 m av out = v cc smbus digital inputs (scl, sda) input high voltage, v ih 2.0 v input low voltage, v il 0.4 v hysteresis 500 mv digital input logic levels (vid0?) input high voltage, v ih 1.7 v input low voltage, v il 0.8 v digital input logic levels (tach inputs) input high voltage, v ih 2.0 v 5.5 v maximum input voltage input low voltage, v il 0.8 v ?.3 v minimum input voltage hysteresis 0.5 v p-p digital input current input high current, i ih ? m av in = v cc input low current, i il 1 m av in = 0 input capacitance, c in 5pf serial bus timing clock frequency, f sclk 10 100 khz see figure 1 glitch immunity, t sw 50 ns see figure 1 bus free time, t buf 4.7 m s see figure 1 start setup time, t su;sta 4.7 m s see figure 1 start hold time, t hd;sta 4.0 m s see figure 1 scl low time, t low 4.7 m s see figure 1 scl high time, t high 4.0 50 m s see figure 1 scl, sda rise time, t r 1000 ns see figure 1 scl, sda fall time, t f 300 m s see figure 1 data setup time, t su;dat 250 ns see figure 1 data hold time, t hd;dat 300 ns see figure 1 detect clock low timeout, t timeout 15 35 ms can be optionally disabled notes 1 all voltages are measured with respect to gnd, unless otherwise specified. 2 typicals are at t a = 40 c and represent the most likely parametric norm. 3 logic inputs will accept input high voltages up to v max even when the device is operating down to v min . 4 timing specifications are tested at logic levels of v il = 0.8 v for a falling edge and v ih = 2.0 v for a rising edge. specifications subject to change without notice.
rev. a ? adm1027 caution esd (electrostatic discharge) sensitive device. electrostatic charges as high as 4000 v readily accumulate on the human body and test equipment and can discharge without detection. although the adm1027 features proprietary esd protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. therefore, proper esd precautions are recommended to avoid performance degradation or loss of functionality. warning! esd sensitive device absolute maximum ratings * positive supply voltage (v cc ) . . . . . . . . . . . . . . . . . . . . . 6.5 v voltage on 12 v in pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 v voltage on any other input or output pin . . . . ?.3 v to +6.5 v input current at any pin . . . . . . . . . . . . . . . . . . . . . . . . 5 ma package input current . . . . . . . . . . . . . . . . . . . . . . . . 20 ma maximum junction temperature (t j max ) . . . . . . . . . . 150 c storage temperature range . . . . . . . . . . . . . ?5 c to +150 c lead temperature, soldering vapor phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . . . . 215 c infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 c esd rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2000 v * stresses above those listed under absolute maximum ratings may cause perma- nent damage to the device. this is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. pin configuration top view (not to scale) 24 23 22 21 20 19 18 17 16 15 14 13 1 2 3 4 5 6 7 8 9 10 11 12 adm1027 tach2 tach1 pwm2/ smbalert tach3 vid3 sda scl gnd v cc vid2 vid1 vid0 pwm3/ address enable tach4/address select d2 d2+ d1 pwm1/xto v ccp 2.5v in 12v in d1+ vid4 5v in ordering guide model temperature range package description package option adm1027 0? to 105? 24-lead qsop rq-24 thermal characteristics 24-lead qsop package: q ja = 123 c/w, q jc = 27 c/w p s t su; dat t high t f t hd; dat t r t low t su; sto ps scl sda t hd; sta t hd; sta t su; sta t buf figure 1. diagram for serial bus timing
rev. a adm1027 ? pin function descriptions pin mnemonic description 1 sda digital i/o (open-drain). smbus bidirectional serial data. requires smbus pull-up. 2 scl digital input (open-drain). smbus serial clock input. requires smbus pull-up. 3g nd ground pin for the adm1027. 4v cc power supply. can be powered by 3.3 v standby if monitoring in low power states is required. v cc is also monitored through this pin. the adm1027 can also be powered from a 5 v supply. setting bit 7 of configuration register 1 (reg. 0x40) rescales the v cc input attenuators to correctly measure a 5 v supply. 5 vid0 digital input (open-drain). voltage supply readouts from cpu. this value is read into the vid register (reg. 0x43). 6 vid1 digital input (open-drain). voltage supply readouts from cpu. this value is read into the vid register (reg. 0x43). 7 vid2 digital input (open-drain). voltage supply readouts from cpu. this value is read into the vid register (reg. 0x43). 8 vid3 digital input (open-drain). voltage supply readouts from cpu. this value is read into the vid register (reg. 0x43). 9 tach3 digital input (open-drain). fan tachometer input to measure speed of fan 3. can be reconfigured as an analog input (ain3) to measure the speed of 2-wire fans. 10 pwm2/ smbalert digital output (open-drain). requires 10 k w typical pull-up. pulsewidth modulated output to control fan 2 speed. this pin may be reconfigured as an smbalert interrupt output to signal out-of-limit conditions. 11 tach1 digital input (open-drain). fan tachometer input to measure speed of fan 1. can be reconfigured as an analog input (ain1) to measure the speed of 2-wire fans. 12 tach2 digital input (open-drain). fan tachometer input to measure speed of fan 2. can be reconfigured as an analog input (ain2) to measure the speed of 2-wire fans. 13 pwm3/ address enable digital i/o (open-drain). pulsewidth modulated output to control fan 3 speed. requires 10 k w typical pull-up. if pulled low on power-up, this places the adm1027 into address select mode, and the state of pin 14 will determine the adm1027? slave address. 14 tach4/address select digital input (open-drain). fan tachometer input to measure speed of fan 4. can be reconfigured as an analog input (ain4) to measure the speed of 2-wire fans. if in address select mode, this pin determines the smbus device address. 15 d2 cathode connection to second thermal diode. 16 d2+ anode connection to second thermal diode. 17 d1 cathode connection to first thermal diode. 18 d1+ anode connection to first thermal diode. 19 vid4 digital input (open-drain). voltage supply readouts from cpu. this value is read into the vid register (reg. 0x43). 20 5v in analog input. monitors 5 v power supply. 21 12v in analog input. monitors 12 v power supply. 22 2.5v in analog input. monitors 2.5 v supply, typically a chipset voltage. 23 v ccp analog input. monitors processor core voltage (0 v to 3 v). 24 pwm1/xto digital output (open-drain). pulsewidth modulated output to control fan 1 speed. requires 10 k w typical pull-up. also functions as the output from the xor tree in xor test mode.
rev. a ? adm1027 functional description general description the adm1027 is a complete systems monitor and multiple fan controller for any system requiring monitoring and cooling. the device communicates with the system via a serial system management bus. the serial bus controller has an optional address line for device selection (pin 14), a serial data line for reading and writing addresses and data (pin 1), and an input line for the serial clock (pin 2). all control and programming functions of the adm 1027 are performed over the serial bus. in addition, one of the pins can be reconfigured as an smbalert output to indicate out-of-limit conditions. measurement inputs the device has six measurement inputs, four for voltage and two for temperature. it can also measure its own supply voltage and can measure ambient temperature with its on-chip tempera- ture sensor. pins 20 to 23 are analog inputs with on-chip attenuators, configured to monitor 5 v, 12 v, 2.5 v, and the processor core voltage (2.25 v input), respectively. power is supplied to the chip via pin 4, which the system also uses to monitor v cc . in pcs, this pin is normally connected to a 3.3 v standby supply. this pin can, however, be connected to a 5 v supply and monitor it without overranging. remote temperature sensing is provided by the d1+/?and d2+/?inputs, to which diode-connected, external temperature- sensing transistors such as a 2n3906 or cpu thermal diode may be connected. the adc also accepts input from an on-chip band gap tem- perature sensor that monitors system ambient temperature. sequential measurement when the adm1027 monitoring sequence is started, it cycles sequentially through the measurement of analog inputs and the temperature sensors. measured values from these inputs are stored in value registers. these can be read out over the serial bus, or can be compared with programmed limits stored in the limit registers. the results of out-of-limit comparisons are stored in the status registers, which can be read over the serial bus to flag out-of-limit conditions. processor voltage id five digital inputs (vid0 to vid4 ?pins 5 to 8 and 19) read the processor voltage id code and store it in the vid register, from which it can be read out by the management system over the serial bus. the vid code monitoring function is compatible with both vrm9.x and future vrm10 solutions. the vid code monitoring function is compatible with vrm9.x. adm1027 address selection pin 13 is the dual function pwm3/ address enable pin. if pin 13 is pulled low on power-up, the adm1027 will read the state of pin 14 (tach4/address select pin) to determine the adm1027 slave address. if pin 13 is high on power-up, then the adm1027 will default to smbus slave address 0x5c. this function is described later in more detail. internal registers of the adm1027 a brief description of the adm1027? principal internal regis- ters follows. more detailed information on the function of each register is given in tables iv to xxxvi. configuration registers provide control and configuration of the adm1027, including alternate pinout functionality. address pointer register contains the address that selects one of the other internal registers. when writing to the adm1027, the first byte of data is always a register address, which is written to the address pointer register. status registers provide the status of each limit comparison and are used to signal out-of-limit conditions on the temperature, voltage, or fan speed channels. if pin 10 is configured as smbalert , then this pin will assert low whenever a status bit gets set. interrupt mask registers allow each interrupt status event to be masked when pin 10 is configured as an smbalert output. this affects only the smbalert output and not the bits in the status register. vid register the status of the vid0 to vid4 pins of the processor can be read from this register. value and limit registers the results of analog voltage inputs, temperature, and fan speed measurements are stored in these registers, along with their limit values. offset registers allow each temperature channel reading to be offset by a twos complement value written to these registers. t min registers program the starting temperature for each fan under automatic fan speed control. t range registers program the temperature-to-fan speed control slope in automatic fan speed control mode for each pwm output. enhance acoustics registers allow each pwm output controlling fan to be tweaked to enhance the system? acoustics.
rev. a t ypical performance characteristics?dm1027 ? leakage resistance (m  ) remote temperature error (  c) 15 10 ?0 1.0 3.3 100.0 10.0 30.0 0 ? ?0 ?5 5 dxp to gnd dxp to v cc (3.3v) tpc 1. remote temperature error vs. leakage resistance frequency (hz) remote temperature error (  c) 14.0 12.0 ?.0 100k 550k 50m 5m 6.0 4.0 0 2.0 10.0 8.0 100mv 250mv tpc 4. remote temperature error vs. power supply noise frequency frequency (hz) remote temperature error (  c) 16.0 60k 14.0 12.0 10.0 8.0 6.0 4.0 2.0 0 ?.0 110k 1m 10m 50m 10mv 20mv tpc 7. remote temperature error vs. differential mode noise frequency dxp ?dxn capacitance (nf) remote temperature error (  c) 3 1 0 ? ? ? ?2 ?5 ?8 ?1 ?4 ?7 2.2 3.3 4.7 10.0 22.0 47.0 ?0 ?3 ?6 remote temperature error (  c) tpc 2. remote temperature error vs. capacitance between d+ and d frequency (hz) local temperature error (  c) 12.5 10.0 ?.0 100k 550k 50m 5m 5.0 2.5 ?.5 0 7.5 100mv 250mv tpc 5. local temperature error vs. power supply noise frequency frequency (hz) remote temperature error (  c) 40.0 10k 35.0 30.0 25.0 20.0 15.0 10.0 5.0 0 ?.0 ?0.0 100k 1m 10m 20mv 40mv 100mv tpc 8. remote temperature error vs. common mode noise frequency temperature (  c) remote temperature error (  c) 3 ?0 2 1 0 ? ? ? 0408 0 120 ? sigma +3 sigma tpc 3. remote temperature error vs. actual temperature 1.90 1.85 1.80 1.75 1.70 1.65 1.60 1.55 1.50 1.45 1.40 2.50 2.60 3.00 3.40 3.80 4.20 4.60 5.00 5.40 5.50 supply current (ma) tpc 6. supply current vs. supply voltage
rev. a ? adm1027 serial bus interface control of the adm1027 is carried out using the serial system management bus (smbus). the adm1027 is connected to this bus as a slave device, under the control of a master controller. the adm1027 has a 7-bit serial bus address. when the device is powered up with pin 13 (pwm3/ address enable ) high, the adm1027 will have a default smbus address of 0101110 or 0x5c. if more than one adm1027 is to be used in a system, then each adm1027 should be placed in address select mode by strapping pin 13 low on power-up. the logic state of pin 14 then determines the device? smbus address. table i. adm1027 address select mode pin 13 state pin 14 state address 0l ow (10 k w to gnd) 0101100 (0x58) 0h igh (10 k w pull-up) 0101101 (0x5a) 1d on? care 0101110 (0x5c) (default) adm1027 14 13 addr_sel pwm3/ addr_en v cc 10k  address = 0x5c figure 2. default smbus address = 0x5c adm1027 14 13 addr_sel pwm3/ addr_en 10k  address = 0x58 figure 3. smbus address = 0x58 (pin 14 = 0) the device address is sampled and latched on the first valid smbus transaction, so any attempted addressing changes made thereafter will have no immediate effect. the facility to make hardwired changes to the smbus slave address allows the user to avoid conflicts with other devices sharing the same serial bus (for example, if more than one adm1027 is used in a system). once the smbus address has been assigned, these pins return to their original function. however, since the circuits required to set up the smbus address are unworkable with the pwm and tach circuits, it would require the use of muxes to switch in and out the correct circuit at the correct time. adm1027 addr_sel pwm3/ addr_en address = 0x5a 14 13 v cc 10k  figure 4. smbus address = 0x5a (pin 14 = 1) adm1027 14 13 addr_sel pwm3/ addr_en v cc 10k  do not leave addr_en unconnected! can cause unpredictable addresses nc figure 5. unpredictable smbus address if pin 13 is unconnected care should be taken to ensure that pin 13 (pwm3/ addr_en ) is either tied high or low. leaving pin 13 float ing could cause the adm1027 to power up with an unexpected address. note that if the adm1027 is placed into address select mode, pins 13 and 14 can be used as their alternate functions once address assignment has taken place (pwm3, tach4). care should be taken using muxes to connect in the appro priate circuit at the appropriate time. the serial bus protocol operates as follows: 1. the master initiates data transfer by establishing a start condition, defined as a high to low transition on the serial data line sda while the serial clock line scl remains high. this indicates that an address/data stream will follow. all slave peripherals connected to the serial bus respond to the start condition and shift in the next eight bits, consisting of a 7-bit address (msb first) plus the r/ w bit, which deter- mines the direction of the data transfer, i.e., whether data will be written to or read from the slave device. the peripheral whose address corresponds to the transmitted address responds by pulling the data line low during the low period before the ninth clock pulse, known as the acknowledge bit. all other devices on the bus now remain idle while the selected device waits for data to be read from or written to it. if the r/ w bit is a 0, the master will write to the slave device. if the r/ w bit is a 1, the master will read from the slave device. 2. data is sent over the serial bus in sequences of nine clock pulses, eight bits of data followed by an acknowledge bit from the slave device. transitions on the data line must occur during the low period of the clock signal and remain stable during the high period, as a low to high transition when the clock is high may be interpreted as a stop signal. the number of data bytes that can be transmitted over the serial bus in a single read or write operation is limited only by what the master and slave devices can handle. 3. when all data bytes have been read or written, stop condi tions are established. in write mode, the master will pull the data line high during the 10th clock pulse to assert a stop condition. in read mode, the master device will override the acknowledge bit by pulling the data line high during the low period before the ninth clock pulse. this is known as no acknowledge. the master will then take the data line low during the low period before the 10th clock pulse, then high during the 10th clock pulse to assert a stop condition.
rev. a adm1027 ? any number of bytes of data can be transferred over the serial bus in one operation. however, it is not possible to mix read and write in one operation because the type of operation is determined at the beginning and subsequently cannot be changed without starting a new operation. in the case of the adm1027, write operations contain either one or two bytes, and read operations contain one byte and perform the following functions: to write data to one of the device data registers or read data from it, the address pointer register must be set so the correct data register is addressed, then data can be written into that register or read from it. the first byte of a write operation always contains an address that is stored in the address pointer regis ter. if data is to be written to the device, then the write operation contains a second data byte that is written to the register se lected by the address pointer register. this is illustrated in figure 6. the device address is sent over the bus followed by r/ w being set to 0. this is followed by two data bytes. the first data byte is the address of the internal data register to be written to, which is stored in the address pointer register. the second data byte is the data to be written to the internal data register. when reading data from a register, there are two possibilities: 1. if the adm1027 address pointer register value is unknown or not the desired value, it is first necessary to set it to the correct value before data can be read from the desired data register. this is done by performing a write to the adm1027 as before, but only sending the data byte containing the register address, as data is not to be written to the register. this is shown in figure 7. a read operation is then performed consisting of the serial bus address, r/ w bit set to 1, followed by the data byte read from the data register. this is shown in figure 8. 2. if the address pointer register is known to be already at the desired address, data can be read from the corresponding data register without first writing to the address pointer register, so figure 7 can be omitted. r/ w 0 scl sda 10 1 1 a1 a0 d7 d6 d5 d4 d3 d2 d1 d0 ack. by adm1027 start by master frame 1 serial bus address byte frame 2 address pointer register byte 19 1 ack. by adm1027 9 d7 d6 d5 d4 d3 d2 d1 d0 ack. by adm1027 stop by master frame 3 data byte 1 9 scl (continued) sda (continued) figure 6. writing a register address to the address pointer register, then writing data to the selected register r/ w 0 scl sda 10 1 1 a1 a0 d7 d6 d5 d4 d3 d2 d1 d0 ack. by adm1027 stop by master start by master frame 1 serial bus address byte frame 2 address pointer register byte 19 1 ack. by adm1027 9 figure 7. writing to the address pointer register only r/ w 0 scl sda 10 1 1 a1 a0 d7 d6 d5 d4 d3 d2 d1 d0 no ack. by master stop by master start by master frame 1 serial bus address byte frame 2 data byte from adm1027 19 1 ack. by adm1027 9 figure 8. reading data from a previously selected register
rev. a ?0 adm1027 notes 1. it is possible to read a data byte from a data register without first writing to the address pointer register if the address pointer register is already at the correct value. however, it is not possible to write data to a register without writing to the address pointer register, because the first data byte of a write is always written to the address pointer register. 2. in figures 6 to 8, the serial bus address is shown as the default value 01011(a1)(a0), where a1 and a0 are set by the address select mode function previously defined. 3. in addition to supporting the send byte and receive byte protocols, the adm1027 also supports the read byte protocol (see system management bus specifications rev. 2.0 for more information). 4. if it is required to perform several read or write operations in succession, the master can send a repeat start condition instead of a stop condition to begin a new operation. adm1027 write operations the smbus specification defines several protocols for different types of read and write operations. the ones used in the adm1027 are discussed below. the following abbreviations are used in the diagrams: s ?start p stop r read w write a acknowledge a no acknowledge the adm1027 uses the following smbus write protocols: send byte in this operation, the master device sends a single command byte to a slave device, as follows: 1. the master device asserts a start condition on sda. 2. the master sends the 7-bit slave address followed by the write bit (low). 3. the addressed slave device asserts ack on sda. 4. the master sends a command code. 5. the slave asserts ack on sda. 6. the master asserts a stop condition on sda and the transaction ends. for the adm1027, the send byte protocol is used to write a register address to ram for a subsequent single byte read from the same address. this is illustrated in figure 9. s slave address wa ap 12 3 4 56 register address figure 9. setting a register address for subsequent read if it is required to read data from the register immediately after setting up the address, the master can assert a repeat start con- dition immediately after the final ack and carry out a single byte read without asserting an intermediate stop condition. write byte in this operation, the master device sends a command byte and one data byte to the slave device, as follows: 1. the master device asserts a start condition on sda. 2. the master sends the 7-bit slave address followed by the write bit (low). 3. the addressed slave device asserts ack on sda. 4. the master sends a command code. 5. the slave asserts ack on sda. 6. the master sends a data byte. 7. the slave asserts ack on sda. 8. the master asserts a stop condition on sda to end the transaction. this is illustrated in figure 10. s slave address wa 12 3 4 56 a data ap 78 register address figure 10. single byte write to a register adm1027 read operations the adm1027 uses the following smbus read protocols: receive byte this is useful when repeatedly reading a single register. the register address needs to have been set up previously. in this operation, the master device receives a single byte from a slave device, as follows: 1. the master device asserts a start condition on sda. 2. the master sends the 7-bit slave address followed by the read bit (high). 3. the addressed slave device asserts ack on sda. 4. the master receives a data byte. 5. the master asserts no ack on sda. 6. the master asserts a stop condition on sda and the trans- ac tion ends. in the adm1027, the receive byte protocol is used to read a single byte of data from a register whose address has previously been set by a send byte or write byte operation. s slave address ra data a p 12 3456 figure 11. single byte read from a register alert response address alert response address (ara) is a feature of smbus devices, which allows an interrupting device to identify itself to the host when multiple devices exist on the same bus. the smbalert output can be used as an interrupt output or can be used as an smbalert . one or more outputs can be connected to a common smbalert line connected to the master. if a device? smbalert line goes low, the following procedure occurs: 1. smbalert is pulled low. 2. master initiates a read operation and sends the alert response address (ara = 0001 100). this is a general call address that must not be used as a specific device address. 3. the device whose smbalert output is low responds to the alert response address, and the master reads its device address. the address of the device is now known and it can be interrogated in the usual way. 4. if more than one device? smbalert output is low, the one with the lowest device address will have priority, in accordance with normal smbus arbitration.
rev. a adm1027 ?1 5. once the adm1027 has responded to the alert response address, the master must read the status registers and the smbalert will only be cleared if the error condition has gone away. smbus timeout the adm1027 includes an smbus timeout feature. if there is no smbus activity for a minimum of 15 ms and a maximum of 35 ms, the adm1027 assumes that the bus is locked and releases the bus. this prevents the device from locking or holding the smbus expecting data. some smbus controllers cannot handle the smbus tim eout feature, so it can be disabled. configuration register 1 ?register 0x40 <6> todis = 0; smbus timeout enabled (default) <6> todis = 1; smbus timeout disabled voltage measurement inputs the adm1027 has four external voltage measurement channels. it can also measure its own supply voltage, v cc . pins 20 to 23 are dedicated to measuring 5 v, 12 v, 2.5 v supplies and the processor core voltage v ccp (0 v to 3 v input). the v cc supply voltage measurement is carried out through the v cc pin (pin 4). setting bit 7 of configuration register 1 (reg. 0x40) allows a 5 v supply to power the adm1027 and be measured without overranging the v cc measurement channel. the 2.5 v input can be used to monitor a chipset supply voltage in com- puter systems. analog-to-digital converter all analog inputs are multiplexed into the on-chip, successive approximation, analog-to-digital converter. this has a resolu- tion of 10 bits. the basic input range is 0 v to 2.25 v, but the inputs have built-in attenuators to allow measurement of 2.5 v, 3.3 v, 5 v, 12 v and the processor core voltage v ccp , without any external components. to allow for the tolerance of these supply voltages, the adc produces an output of 3/4 full scale (768 decimal or 300 hex) for the nominal input voltage, and so has adequate headroom to cope with overvoltages. input circuitry the internal structure for the analog inputs is shown in figure 12. each input circuit consists of an input protection diode, an attenuator, and a capacitor to form a first order low-pass filter that gives the input immunity to high frequency noise. voltage measurement registers reg. 0x20 2.5 v reading = 0x00 default reg. 0x21 v ccp r eading = 0x00 default reg. 0x22 v cc reading = 0x00 default reg. 0x23 5 v reading = 0x00 default reg. 0x24 12 v reading = 0x00 default voltage measurement limit registers associated with each voltage measurement channel are high and low limit registers. exceeding the programmed high or low limit causes the appropriate status bit to be set. exceeding either limit can also generate smbalert interrupts. reg. 0x44 2.5 v low limit = 0x00 default reg. 0x45 2.5 v high limit = 0xff default reg. 0x46 v ccp low limit = 0x00 default reg. 0x47 v ccp h igh limit = 0xff default reg. 0x48 v cc low limit = 0x00 default reg. 0x49 v cc high limit = 0xff default reg. 0x4a 5 v low limit = 0x00 default reg. 0x4b 5 v high limit = 0xff default reg. 0x4c 12 v low limit = 0x00 default reg. 0x4d 12 v high limit = 0xff default 30pf 120k  30pf 93k  mux 30pf 68k  30pf 45k  105k  35pf 35k  94k  71k  47k  20k  12v in 5v in 3.3v in 2.5v in v ccpin figure 12. structure of analog inputs table ii shows the input ranges of the analog inputs and output codes of the 10-bit a/d converter. when the adc is running, it samples and converts a voltage input in 711 m s, and averages 16 conversions to reduce noise. therefore a measurement on any input takes nominally 11.38 ms.
rev. a ?2 adm1027 table ii. 10-bit a/d output code vs. v in input voltage a/d output 12 v in 5 v in v cc (3.3 v in ) * 2.5 v in v ccpin decimal binary (10 bits) <0.0156 <0.0065 <0.0042 <0.0032 <0.00293 0 00000000 00 0.0156 ?0.0312 0.0065 ?0.0130 0.0042 ?0.0085 0.0032 ?0.0065 0.0293 ?0.0058 1 00000000 01 0.0312 ?0.0469 0.0130 ?0.0195 0.0085 ?0.0128 0.0065 ?0.0097 0.0058 ?0.0087 2 00000000 10 0.0469 ?0.0625 0.0195 ?0.0260 0.0128 ?0.0171 0.0097 ?0.0130 0.0087 ?0.0117 3 00000000 11 0.0625 ?0.0781 0.0260 ?0.0325 0.0171 ?0.0214 0.0130 ?0.0162 0.0117 ?0.0146 4 00000001 00 0.0781 ?0.0937 0.0325 ?0.0390 0.0214 ?0.0257 0.0162 ?0.0195 0.0146 ?0.0175 5 00000001 01 0.0937 ?0.1093 0.0390 ?0.0455 0.0257 ?0.0300 0.0195 ?0.0227 0.0175 ?0.0205 6 00000001 10 0.1093 ?0.1250 0.0455 ?0.0521 0.0300 ?0.0343 0.0227 ?0.0260 0.0205 ?0.0234 7 00000001 11 0.1250 ?0.1406 0.0521 ?0.0586 0.0343 ?0.0386 0.0260 ?0.0292 0.0234 ?0.0263 8 00000010 00 4.0000 ?4.0156 1.6675 ?1.6740 1.1000 ?1.1042 0.8325 ?0.8357 0.7500 ?0.7529 256 (1/4 scale) 01000000 00 8.0000 ?8.0156 3.3300 ?3.3415 2.2000 ?2.2042 1.6650 ?1.6682 1.5000 ?1.5029 512 (1/2 scale) 10000000 00 12.0000 ?12.0156 5.0025 ?5.0090 3.3000 ?3.3042 2.4975 ?2.5007 2.2500 ?2.2529 768 (3/4 scale) 11000000 00 15.8281 ?15.8437 6.5983 ?6.6048 4.3527 ?4.3570 3.2942 ?3.2974 2.9677 ?2.9707 1013 11111101 01 15.8437 ?15.8593 6.6048 ?6.6113 4.3570 ?4.3613 3.2974 ?3.3007 2.9707 ?2.9736 1014 11111101 10 15.8593 ?15.8750 6.6113 ?6.6178 4.3613 ?4.3656 3.3007 ?3.3039 2.9736 ?2.9765 1015 11111101 11 15.8750 ?15.8906 6.6178 ?6.6244 4.3656 ?4.3699 3.3039 ?3.3072 2.9765 ?2.9794 1016 11111110 00 15.8906 ?15.9062 6.6244 ?6.6309 4.3699 ?4.3742 3.3072 ?3.3104 2.9794 ?2.9824 1017 11111110 01 15.9062 ?15.9218 6.6309 ?6.6374 4.3742 ?4.3785 3.3104 ?3.3137 2.9824 ?2.9853 1018 11111110 10 15.9218 ?15.9375 6.6374 ?6.4390 4.3785 ?4.3828 3.3137 ?3.3169 2.9853 ?2.9882 1019 11111110 11 15.9375 ?15.9531 6.6439 ?6.6504 4.3828 ?4.3871 3.3169 ?3.3202 2.9882 ?2.9912 1020 11111111 00 15.9531 ?15.9687 6.6504 ?6.6569 4.3871 ?4.3914 3.3202 ?3.3234 2.9912 ?2.9941 1021 11111111 01 15.9687 ?15.9843 6.6569 ?6.6634 4.3914 ?4.3957 3.3234 ?3.3267 2.9941 ?2.9970 1022 11111111 10 >15.9843 >6.6634 >4.3957 >3.3267 >2.9970 1023 11111111 11 * the v cc output codes listed assume that v cc is 3.3 v. if v cc input is reconfigured for 5 v operation (by setting bit 7 of configuration register 1), then the v cc output codes are the same as for the 5 v in column.
rev. a adm1027 ?3 vid code monitoring the adm1027 has five dedicated voltage id (vid code) inputs. these are digital inputs that can be read back through the vid register (reg. 0x43) to determine the processor voltage required/being used in the system. five vid code inputs support vrm9.x solutions. vid code register ?register 0x43 <0> = vid0 (reflects logic state of pin 5) <1> = vid1 (reflects logic state of pin 6) <2> = vid2 (reflects logic state of pin 7) <3> = vid3 (reflects logic state of pin 8) <4> = vid4 (reflects logic state of pin 19) additional adc functions a number of other functions are available on the adm1027 to offer the systems designer increased flexibility: turn off averaging for each voltage measurement read from a value register, 16 readings have actually been made internally and the results averaged before being placed into the value register. there may be an instance where the user would like to speed up conversions. setting bit 4 of configuration register 2 (reg. 0x73) turns averaging off. this effectively gives a reading 16 faster than 711 m s, but the reading may be noisier. bypass voltage input attenuators setting bit 5 of configuration register 2 (reg. 0x73) removes the attenuation circuitry from the 2.5 v, v ccp , v cc , 5 v, and 12 v inputs. this allows the user to directly connect external sensors or rescale the analog voltage measurement inputs for other applications. the input range of the adc without the attenuators is 0 v to 2.25 v. single-channel adc conversions setting bit 6 of configuration register 2 (reg. 0x73) places the adm1027 into single-channel adc conversion mode. in this mode, the adm1027 can be made to read a single voltage channel only. if the internal adm1027 clock is used, the selected input will be read every 711 m s. the appropriate adc channel is selected by writing to bits <7:5> of tach1 minimum high byte register (0x55). bits <7:5> reg. 0x55 channel selected 000 2.5 v 001 v ccp 010 v cc 011 5 v 100 12 v configuration register 2 (reg. 0x73) <4> = 1 averaging off <5> = 1 bypass input attenuators <6> = 1 single-channel convert mode tach1 minimum high byte (reg. 0x55) <7:5> selects adc channel for single-channel convert mode
rev. a ?4 adm1027 temperature measurement system local temperature measurement the adm1027 contains an on-chip band gap temperature sensor whose output is digitized by the on-chip 10-bit adc. the 8-bit msb temperature data is stored in the local temp register (address 0x26). as both positive and negative tempera- tures can be measured, the temperature data is stored in twos complement format, as shown in table iii. theoretically, the temperature sensor and adc can measure temperatures from C 128 o c to +127 o c with a resolution of 0.25 o c. however, this exceeds the operating temperature range of the device (0 o c to 105 o c), so local temperature measurements outside this range are not possible. temperature measurement from C 127 o c to +127 o c is possible using a remote sensor. remote temperature measurement the adm1027 can measure the temperature of two remote diode sensors or diode-connected transistors connected to pins 15 and 16, or 17 and 18. the forward voltage of a diode or diode-connected transistor, operated at a constant current, exhibits a negative temperature coefficient of about C 2 mv/ o c. unfortunately, the absolute value of v be varies from device to device, and individual calibra- tion is required to null this out, so the technique is unsuitable for mass production. the technique used in the adm1027 is to measure the change in v be when the device is operated at two different currents. this is given by where: k is boltzmann s constant. q is charge on the carrier. t is absolute temperature in kelvins. n is the ratio of the two currents. figure 13 shows the input signal conditioning used to measure the output of a remote temperature sensor. this figure shows the external sensor as a substrate transistor, provided for temperature monitoring on some microprocessors. it could equally well be a discrete transistor such as a 2n3904/06. d+ d remote sensing transistor in  i i bias v dd v out+ to adc v out bias diode low-pass filter f c = 65khz thermda thermdc cpu figure 13. signal conditioning for remote diode temperature sensors d vktq n be = () ln
rev. a adm1027 ?5 if a discrete transistor is used, the collector will not be grounded, and should be linked to the base. if a pnp transistor is used, the base is connected to the d?input and the emitter to the d+ input. if an npn transistor is used, the emitter is connected to the d?input and the base to the d+ input. figure 14 shows how to connect the adm1027 to an npn or pnp transistor for temperature measurement. to prevent ground noise from inter- fering with the measurement, the more negative terminal of the sensor is not referenced to ground, but is biased above ground by an internal diode at the d?input. to measure d v be , the sensor is switched between operating cur- rents of i and n  i. the resulting waveform is passed through a 65 khz low-pass filter to remove noise, and to a chopper-stabilized amplifier that performs the functions of amplification and recti- fication of the waveform to produce a dc voltage proportional to d v be . this voltage is measured by the adc to give a temperature output in 10-bit, twos complement format. to further reduce the effects of noise, digital filtering is performed by averaging the results of 16 measurement cycles. a remote temperature measure- ment takes nominally 25.5 ms. the results of remote temperature measurements are stored in 10-bit, twos complement format, as illustrated in table iii. the extra resolution for the temperature measurements is held in the extended resolution register 2 (reg. 0x77). this gives temperature readings with a resolution of 0.25 o c. table iii. temperature data format * temperature digital output (10-bit) ?28 c 1000 0000 00 ?25 c 1000 0011 00 ?00 c 1001 1100 00 ?5 c 1011 0101 00 ?0 c 1100 1110 00 ?5 c 1110 0111 00 ?0 o c 1111 0110 00 0 c 0000 0000 00 +10.25 c 0000 1010 01 +25.5 c 0001 1001 10 +50.75 c 0011 0010 11 +75 c 0100 1011 00 +100 c 0110 0100 00 +125 c 0111 1101 00 +127 c 0111 1111 00 * bold denotes 2 lsbs of measurement in extended resolution register 2 (reg. 0x77) with 0.25 o c resolution. adm1027 2n3904 npn d+ d figure 14a. measuring temperature using an npn transistor 2n3906 pnp adm1027 d+ d figure 14b. measuring temperature using a pnp transistor nulling out temperature errors as cpus run faster, it is getting more difficult to avoid high frequency clocks when routing the d?d+ traces around a system board. even when recommended layout guidelines are followed, there may still be temperature errors attributed to noise being coupled onto the d+/d?lines. high frequency noise generally has the effect of giving temperature measurements that are too high by a constant amount. the adm1027 has temperature offset registers at addresses 0x70, 0x71, and 0x72 for the remote 1, local, and remote 2 temperature channels. by doing a one-time calibration of the system, you can determine the offset caused by system board noise and null it out using the offset registers. the offset registers automati cally add a twos complement 8-bit reading to every temperature measurement. the lsb adds a 1 c offset to the temperature reading so the 8-bit register effectively allows temperature offsets of up to  127 c with a resolution of 1 c. this ensures that the readings in the temperature measure- ment registers are as accurate as possible. temperature offset registers reg. 0x70 remote 1 temperature offset = 0x00 (0 c default) reg. 0x71 local temperature offset = 0x00 (0 c default) reg. 0x72 remote 2 temperature offset = 0x00 (0 c default)
rev. a ?6 adm1027 temperature measurement registers reg. 0x25 remote 1 temperature = 0x80 default reg. 0x26 local temperature = 0x80 default reg. 0x27 remote 2 temperature = 0x80 default reg. 0x77 extended resolution 2 = 0x00 default <7:6> tdm2 = remote 2 temperature lsbs <5:4> ltmp = local temperature lsbs <3:2> tdm1 = remote 1 temperature lsbs temperature measurement limit registers associated with each temperature measurement channel are high and low limit registers. exceeding the programmed high or low limit causes the appropriate status bit to be set. exceeding either limit can also generate smbalert interrupts. reg. 0x4e remote 1 temperature low limit = 0x81 default reg. 0x4f remote 1 temperature high limit = 0x7f default reg. 0x50 local temperature low limit = 0x81 default reg. 0x51 local temperature high limit = 0x7f default reg. 0x52 remote 2 temperature low limit = 0x81 default reg. 0x53 remote 2 temperature high limit = 0x7f default reading temperature from the adm1027 it is important to note that temperature can be read from the adm1027 as an 8-bit value (with 1 c resolution), or as a 10- bit value (with 0.25 c resolution). if only 1 c resolution is required, the temperature readings can be read back at any time and in no particular order. if the 10-bit measurement is required, this involves a 2-register read for each measurement. the extended resolution register (reg. 0x77) should be read first. this causes all temperature reading registers to be frozen until all temperature reading regis- ters have been read from. this prevents an msb reading from being updated while its two lsbs are being read, and vice versa. additional adc functions a number of other functions are available on the adm1027 to offer the systems designer increased flexibility: turn off averaging for each temperature measurement read from a value register, 16 readings have actually been made internally and the results averaged before being placed into the value register. there may be an instance where the user would like to take a very fast measurement, e.g., of cpu temperature. setting bit 4 of con- figuration register 2 (reg. 0x73) turns averaging off. this takes a reading every 13 ms. the measurement itself takes 4 ms. single-channel adc conversions setting bit 6 of configuration register 2 (reg. 0x73) places the adm1027 into single-channel adc conversion mode. in this mode, the adm1027 can be made to read a single temperature channel only. if the internal adm1027 clock is used, the selected input will be read every 1.4 ms. the appropriate adc channel is selected by writing to bits <7:5> of tach1 minimum high byte register (reg. 0x55). bits <7:5> reg 0x55 channel selected 101 remote 1 temp 110 local temp 111 remote 2 temp configuration register 2 (reg. 0x73) <4> = 1 averaging off <6> = 1 single-channel convert mode tach1 minimum high byte (reg. 0x55) <7:5> selects adc channel for single-channel convert mode overtemperature events overtemperature events on any of the temperature channels can be detected and dealt with automatically. registers 0x6a to 0x6c are the therm limits. when a temperature exceeds its therm limit, all fans will run at 100% duty cycle. the fans will stay running at 100% until the temperature drops below therm ?4 c. fans therm limit temp 100% hysteresis = 4  c figure 15. therm limit operation
rev. a adm1027 ?7 smbalert , status, and mask registers smbalert configuration pin 10 of the adm1027 can be configured as either pwm2 or as an smbalert output. the smbalert output may be used to signal out-of-limit conditions as explained below. the default state of pin 10 is pwm2. to configure pin 10 as smbalert : configuration reg. 3 (addr = 0x78), bit 0 = 1 = smbalert configuration reg. 3 (addr = 0x78), bit 0 = 0 = pwm2 = default limit values associated with each measurement channel on the adm1027 are high and low limits. these can form the basis of system status monitoring; a status bit can be set for any out-of-limit condition and detected by polling the device. alternatively, smbalert interrupts can be generated to flag a processor or microcontroller of out-of-limit conditions. 8-bit limits the following is a list of 8-bit limits on the adm1027: voltage limit registers reg. 0x44 2.5 v low limit = 0x00 default reg. 0x45 2.5 v high limit = 0xff default reg. 0x46 v ccp low limit = 0x00 default reg. 0x47 v ccp h igh limit = 0xff default reg. 0x48 v cc low limit = 0x00 default reg. 0x49 v cc h igh limit = 0xff default reg. 0x4a 5 v low limit = 0x00 default reg. 0x4b 5 v high limit = 0xff default reg. 0x4c 12 v low limit = 0x00 default reg. 0x4d 12 v high limit = 0xff default temperature limit registers reg. 0x4e remote 1 temp low limit = 0x81 default reg. 0x4f remote 1 temp high limit = 0x7f default reg. 0x6a remote 1 therm limit = 0x64 default reg. 0x50 local temp low limit = 0x81 default reg. 0x51 local temp high limit = 0x7f default reg. 0x6b local therm limit = 0x64 default reg. 0x52 remote 2 temp low limit = 0x81 default reg. 0x53 remote 2 temp high limit = 0x7f default reg. 0x6c remote 2 therm limit = 0x64 default 16-bit limits the fan tach measurements are 16-bit results. the fan tach limits are also 16 bits, consisting of a high byte and low byte. since fans running underspeed or stalled are norm ally the only conditions of interest, only high limits exist for fa n tachs. since fan tach period is actually being measured, exceeding the limit indicates a slow or stalled fan. fan limit registers reg. 0x54 tach1 minimum low byte = 0xff default reg. 0x55 tach1 minimum high byte = 0xff default reg. 0x56 tach2 minimum low byte = 0xff default reg. 0x57 tach2 minimum high byte = 0xff default reg. 0x58 tach3 minimum low byte = 0xff default reg. 0x59 tach3 minimum high byte = 0xff default reg. 0x5a tach4 minimum low byte = 0xff default reg. 0x5b tach4 minimum high byte = 0xff default out-of-limit comparisons the adm1027 will measure all parameters in round-robin format and set the appropriate status bit for out-of-limit conditions. comparisons are done differently depending on whether the measured value is being compared to a high or low limit. high limit: > comparison performed low limit: < or = comparison performed
rev. a ?8 adm1027 analog monitoring cycle time the analog monitoring cycle begins when a 1 is written to the start bit (bit 0) of configuration register 1(reg. 0x40). the adc measures each analog input in turn and as each mea- surem ent is completed, the result is automatically stored in the appropriate value register. this round-robin monitoring cycle continues unless disabled by writing a 0 to bit 0 of configura- tion register 1. since the adc will normally be left to free-run in this manner, the time taken to monitor all the analog inputs will normally not be of interest as the most recently measured value of any input can be read out at any time. for applications where the monitoring cycle time is important, it can easily be calculated. the total number of channels measured is four dedicated supply voltage inputs 3.3 v stby or 5 v supply (v cc pin) local temperature two remote temperatures as mentioned previously, the adc performs round-robin con- versions and takes 11.38 ms for each voltage measurement, 12 ms for a local temperature reading, and 25.5 ms for a remote temperature reading. the total monitoring cycle time for averaged voltage and tem- perature monitoring is therefore nominally (5 11.38) + 12 + (2 25.5) = 120 ms fan tach measurements are made in parallel and are not synchronized with the analog measurements in any way. status registers the results of limit comparisons are stored in status registers 1 and 2. the status register bit for each channel reflects the status of the last measurement and limit comparison on that channel. if a measurement is within limits, the corresponding status register bit will be cleared to 0. if the measurement is out-of-limits, the corresponding status register bit will be set to 1. the state of the various measurement channels may be polled by reading the status registers over the serial bus. when 1, bit 7 (ool) of status register 1 (reg. 0x41) means that an out-of- limit event has been flagged in status register 2. this means that the user need read only status register 2 when this bit is set. alternatively, pin 10 can be configured as an smbalert output. this will automatically notify the system supervisor of an out -of-limit condition. reading the status registers clears the appropriate status bit as long as the error condition that caused the interrupt has cleared. status register bits are ?ticky. whenever a status bit gets set, indicating an out-of-limit condi tion, it will remain set even if the event that caused it has gone away (until read). the only way to clear the status bit is to read the status r egister after the event has gone away. inter rupt s tatus mask registers (reg. 0x74, 0x75) allow individual inter- rupt sources to be masked from causing an smbalert . however, if one of these masked interrupt sources goes out- of-limit, its associated status bit will get set in the interrupt status registers. status register 1 (reg. 0x41) bit 7 (ool) = 1, denotes a bit in status register 2 is set and status register 2 should be read. bit 6 (r2t) = 1, remote 2 temp high or low limit has been exceeded. bit 5 (lt) = 1, local temp high or low limit has been exceeded. bit 4 (r1t) = 1, remote 1 temp high or low limit has been exceeded. bit 3 (5 v) = 1, 5 v high or low limit has been exceeded. bit 2 (v cc ) = 1, v cc high or low limit has been exceeded. bit 1 (v ccp ) = 1, v ccp high or low limit has been exceeded. bit 0 (2.5 v) = 1, 2.5 v high or low limit has been exceeded. status register 2 (reg. 0x42) bit 7 (d2) = 1, indicates an open or short on d2+/d2?inputs. bit 6 (d1) = 1, indicates an open or short on d2+/d2?inputs. bit 5 (fan4) = 1, indicates fan 4 has dropped below mini- mum speed. bit 4 (fan3) = 1, indicates fan 3 has dropped below mini- mum speed. bit 3 (fan2) = 1, indicates fan 2 has dropped below mini- mum speed. bit 2 (fan1) = 1, indicates fan 1 has dropped below mini- mum speed. bit 1 (ovt) = 1, indicates that a therm overtemperature limit has been exceeded. bit 0 (12 v) = 1, 12 v high or low limit has been ex ceeded.
rev. a adm1027 ?9 smbalert interrupt behavior the adm1027 can be polled for status, or an smbalert interrupt can be generated for out-of-limit conditions. it is important to note how the smbalert output and status bits behave when writing interrupt handler software. sticky status bit high limit temperature smbalert cleared on read (temp below limit) temp back in limit (status bit stays set) figure 16. smbalert and status bit behavior figure 16 shows how the smbalert output and sticky status bits behave. once a limit is exceeded, the corresponding status bit is set to 1. the status bit remains set until the error condition subsides and the status register is read. the status bits are referred to as sticky since they remain set until read by software. this ensures that an out-of-limit event cannot be missed if software is polling the device periodically. note that the smbalert output remains low for the entire duration that a reading is out-of-limit and until the status register has been read. this has implications on how software handles the interrupt. handling smbalert interrupts to prevent the system from being tied up servicing interrupts, it is recommend to handle the smbalert interrupt as follows: 1. detect the smbalert assertion. 2. enter the interrupt handler. 3. read the status registers to identify the interrupt source. 4. mask the interrupt source by setting the appropriate mask bit in the interrupt mask registers (reg. 0x74, 0x75). 5. take the appropriate action for a given interrupt source. 6. exit the interrupt handler. 7. periodically poll the status registers. if the interrupt status bit has cleared, reset the corresponding interrupt mask bit to 0. this will cause the smbalert output and status bits to behave as shown in figure 17. sticky status bit high limit temperature smbalert cleared on read (temp below limit) temp back in limit (status bit stays set) interrupt mask bit set interrupt mask bit cleared ( smbalert rearmed) figure 17. how masking the interrupt source affects smbalert output masking interrupt sources interrupt mask registers 1 and 2 are located at addresses 0x74 and 0x75. these allow individual interrupt sources to be masked out to prevent smbalert interrupts. note that masking an interrupt source prevents only the smbalert output from being asserted; the appropriate status bit will be set as normal. interrupt mask register 1 (reg. 0x74) bit 7 (ool) = 1, set this bit to 1 to allow masking of interrupts by status register 2. if this bit = 0, then setting a bit in mask register 2 to 1 will have no effect. bit 6 (r2t) = 1, masks smbalert for remote 2 temperature. bit 5 (lt) = 1, masks smbalert for local temperature. bit 4 (r1t) = 1, masks smbalert for remote 1 temperature. bit 3 (5 v) = 1, masks smbalert for 5 v channel. bit 2 (v cc ) = 1, masks smbalert for v cc channel. bit 1 (v ccp ) = 1, masks smbalert for v ccp channel. bit 0 (2.5 v) = 1, masks smbalert for 2.5 v channel. interrupt mask register 2 (reg. 0x75) bit 7 (d2) = 1, masks smbalert for diode 2 errors. bit 6 (d1) = 1, masks smbalert for diode 1 errors. bit 5 (fan4) = 1, masks smbalert for fan 4. bit 4 (fan3) = 1, masks smbalert for fan 3. bit 3 (fan2) = 1, masks smbalert for fan 2. bit 2 (fan1) = 1, masks smbalert for fan 1. bit 1 (ovt) = 1, masks smbalert for overtemperature (exceeding therm limits). bit 0 (12 v) = 1, masks smbalert for 12 v channel.
rev. a ?0 adm1027 fan drive circuitry fan drive using pwm control the adm1027 uses pulsewidth modulation (pwm) to control fan speed. this relies on varying the duty cycle (or on/off ratio) of a square wave applied to the fan to vary the fan speed. the external circuitry required to drive a fan using pwm control is extremely simple. a single nmosfet is the only drive device required. the specifications of the mosfet depend on the maximum current required by the fan being driven. typical notebook fans draw a nominal 170 ma, so sot devices can be used where board space is a concern. in desktops, fans can typically draw 250 ma to 300 ma each. if you drive several fans in parallel from a single pwm output or drive larger server fans, the mosfet will need to handle the higher current require- ments. the only other stipulation is that the mosfet should have a gate voltage drive, v gs < 3.3 v for direct interfacing to the pwm_out pin. v gs can be greater than 3.3 v as long as the pull-up on the gate is tied to 5 v. the mosfet should also have a low on resistance to ensure that there is not signifi- cant voltage drop across the fet. this would reduce the voltage applied across the fan and thus the maximum operating speed of the fan. figure 18 shows how a 3-wire fan may be driven using pwm control. adm1027 tach/ain pwm 4.7k  10k  10k  10k  3.3v 12v 12v 12v fan q1 ndt3055l figure 18. driving a 3-wire fan using an n-channel mosfet figure 18 uses a 10 k w pull-up resistor for the tach signal. this assumes that the tach signal is open-collector from the fan. in all cases, the tach signal from the fan must be kept below 5 v maximum to prevent damaging the adm1027. if in doubt as to whether the fan used has an open-collector or totem pole tach output, use one of the input signal conditioning circuits shown in the fan speed measurement section. figure 19 shows a fan drive circuit using an npn transistor such as a general-purpose mmbt2222. while these devices are inexpensive, they tend to have much lower current handling capabilities and higher on resistance than mosfets. when choosing a transistor, care should be taken to ensure that it meets the fan? current requirements. ensure that the base resistor is chosen such that the transistor is saturated when the fan is powered on. adm1027 tach/ain pwm 4.7k  10k  10k  10k  3.3v 12v 12v 12v fan q1 mmbt2222 figure 19. driving a 3-wire fan using an npn transistor
rev. a adm1027 ?1 adm1027 pwm3 2.2k  10k  3.3v q1 mmbt3904 3.3v 10  tach3 q2 mmbt2222 10  tach4 12v q3 mmbt2222 figure 20. interfacing two fans in parallel to the pwm3 output using low cost npn transistors adm1027 tach4 10k  typical 3.3v tach tach3 10k  typical 3.3v pwm3 10k  typical 3.3v +v q1 ndt3055l 5v or 12v fan tach 5v or 12v fan +v figure 21. interfacing two fans in parallel to the pwm3 output using a single n-channel mosfet driving 2 fans from pwm3 note that the adm1027 has four tach inputs available for fan speed measurement, but only three pwm drive outputs. if a fourth fan is being used in the system, it should be driven from the pwm3 output in parallel with the third fan. figure 20 shows how to drive two fans in parallel using low cost npn transistors. figure 21 is the equivalent circuit using the ndt3055l mosfet. note that since the mosfet can handle up to 3.5 a, it is simply a matter of connecting another fan directly in parallel with the first. care should be taken in designing drive circuits with transistors and fets to ensure that the pwm pins are not required to source current, and that they sink less than the 8 ma max cur- rent specified on the data sheet.
rev. a ?2 adm1027 driving 2-wire fans figure 22 shows how a 2-wire fan may be connected to the adm1027. this circuit allows the speed of a 2-wire fan to be measured even though the fan has no dedicated tach signal. a series resistor, r sense , in the fan circuit converts the fan commu tation pulses into a voltage. this is ac-coupled into the adm1027 through the 0.01 f capacitor. on-chip signal con- ditioning allows accurate monitoring of fan speed. for fans drawing approximately 200 ma, a 2 w r sense value is suitable. for fans that draw more current, such as larger desktop or server fans, r sense may be reduced. the smaller r sense is the better, since more voltage will be developed across the fan, and the fan will spin faster. figure 23 shows a typical plot of the sensing waveform at a tach/ain pin. the most important thing is that the negative going spikes are more than 250 mv in amplitude. this allows fan speed to be reliably determined. adm1027 tach/ain pwm 10k  typical 3.3v +v q1 ndt3055l 5v or 12v fan r sense 2  typical 0.01  f figure 22. driving a 2-wire fan 1 ch1 4 100mv ch2 5.00mv m 4.00ms a ch1 ?.00mv ch3 50.0mv ch4 50.0mv t  : +250mv @: ?58mv ?.00000ms t tek prevu [] t figure 23. fan speed sensing waveform at tach/ain pin laying out for 2-wire and 3-wire fans figure 24 shows how to lay out a common circuit arrangement for 2-wire and 3-wire fans. some components will not be popu- lated depending on whether a 2-wire or 3-wire fan is being used. 3.3v or 5v tach/ain pwm 12v or 5v q1 mmbt2222 r4 r5 r3 c1 r2 r1 for 3-wire fans: populate r1, r2, r3 r4 = 0  c1 = unpopulated for 2-wire fans: populate r4, c1 r1, r2, r3 unpopulated figure 24. planning for 2-wire or 3-wire fans on a pcb
rev. a adm1027 ?3 fan speed measurements tach inputs pins 11, 12, 9, and 14 are open-drain tach inputs intended for fan speed measurement. signal conditioning in the adm1027 accommodates the slow rise and fall times typical of fan tachometer outputs. the maxi- mum input signal range is 0 v to 5 v, even where v cc is less than 5 v. in the event that these inputs are supplied from fan outputs that exceed 0 v to 5 v, either resistive attenuation of the fan signal or diode clamping must be included to keep inputs within an acceptable range. figures 25a to 25d show circuits for most common fan tach outputs. if the fan tach output has a resistive pull-up to v cc , it can be connected directly to the fan input, as shown in figure 25a. 5v or 12v adm1027 fan speed counter tach x tacho output pull-up 4.7k  typ v cc fan figure 25a. fan with tach pull-up to +v cc if the fan output has a resistive pull-up to 12 v (or other voltage greater than 5 v), then the fan output can be clamped with a zener diode, as shown in figure 25b. the zener diode voltage should be chosen so that it is greater than v ih of the tach input but less than 5 v, allowing for the voltage tolerance of the zener. a value of between 3 v and 5 v is suitable. 5v or 12v adm1027 fan speed counter tach x tacho output pull-up 4.7k  typ v cc fan zd1 * * choose zd1 voltage approx 0.8  v cc figure 25b. fan with tach pull-up to voltage > 5 v (e.g., 12 v) clamped with zener diode if the fan has a strong pull-up (less than 1 k  ) to 12 v, or a totem-pole output, then a series resistor can be added to limit the zener current, as shown in figure 25c. alternatively, a resistive attenuator may be used, as shown in figure 25d. r1 and r2 should be chosen such that 22125 vv r r r r v pullup pullup < ++ () > the fan inputs have an input resistance of nominally 160 k w to ground; this should be taken into account when calculating resistor values. with a pull-up voltage of 12 v and pull-up resistor less than 1 k w , suitable values for r1 and r2 would be 100 k w and 47 k w . this will give a high input voltage of 3.83 v. 5v or 12v adm1027 fan speed counter tach x tacho output pull-up typ <1k  or totem pole v cc fan zd1 * * choose zd1 voltage approx 0.8  v cc r1 10k  figure 25c. fan with strong tach pull-up to > v cc or totem-pole output, clamped with zener and resistor 5v or 12v adm1027 fan speed counter tach x tacho output pull-up typ <1k  v cc fan r2 * * see text r1 * figure 25d. fan with strong tach pull-up to > v cc or totem-pole output, attenuated with r1/r2 fan speed measurement the fan counter does not count the fan tach output pulses directly because the fan speed may be less than 1000 rpm and it would take several seconds to accumulate a reasonably large and accurate count. instead, the period of the fan revolution is measured by gating an on-chip 90 khz oscillator into the input of a 16-bit counter for n periods of the fan tacho output (figure 26), so the accumulated count is actually proportional to the fan tachometer period and inversely proportional to the fan speed. 1 2 3 4 clock pwm tach figure 26. fan speed measurement n, the number of pulses counted, is determined by the settings of register 0x7b (fan pulses per revolution register). this register contains two bits for each fan, allowing 1, 2 (default), 3, or 4 tach pulses to be counted.
rev. a ?4 adm1027 fan speed measurement registers the fan tachometer readings are 16-bit values consisting of a 2-byte read from the adm1027. reg. 0x28 tach1 low byte = 0x00 default reg. 0x29 tach1 high byte = 0x00 default reg. 0x2a tach2 low byte = 0x00 default reg. 0x2b tach2 high byte = 0x00 default reg. 0x2c tach3 low byte = 0x00 default reg. 0x2d tach3 high byte = 0x00 default reg. 0x2e tach4 low byte = 0x00 default reg. 0x2f tach4 high byte = 0x00 default reading fan speed from the adm1027 if fan speeds are being measured, this involves a 2-register read for each measurement. the low byte should be read first. this causes the high byte to be frozen until both high and low byte registers have been read from. this prevents erroneous tach readings. the fan tachometer reading registers report back the number of 11.11 s period clocks (90 khz oscillator) gated to the fan speed counter, from the rising edge of the first fan tach pulse to the rising edge of the third fan tach pulse (assuming two pulses per revolution are being counted). since the device is essentially measuring the fan tach period, the higher the count value, the slower the fan is actually running. a 16-bit fan tachometer reading of 0xffff indicates that the fan either has stalled or is running very slowly (< 100 rpm). high limit: > comparison performed since actual fan tach period is being measured, exceeding a fan tach limit by 1 will set the appropriate status bit and can be used to generate an smbalert . fan tach limit registers the fan tach limit registers are 16-bit values consisting of two bytes. reg. 0x54 tach1 minimum low byte = 0xff default reg. 0x55 tach1 minimum high byte = 0xff default reg. 0x56 tach2 minimum low byte = 0xff default reg. 0x57 tach2 minimum high byte = 0xff default reg. 0x58 tach3 minimum low byte = 0xff default reg. 0x59 tach3 minimum high byte = 0xff default reg. 0x5a tach4 minimum low byte = 0xff default reg. 0x5b tach4 minimum high byte = 0xff default fan speed measurement rate the fan tach readings are normally updated once every second. the fast bit (bit 3) of configuration register 3 (reg. 0x78), when set, updates the fan tach readings every 250 ms. if any of the fans are not being driven by a pwm channel but are powered directly from 5 v or 12 v, their associated dc bit in configuration register 3 should be set. this allows tach read ings to be taken on a continuous basis for fans connected directly to a dc source. calculating fan speed assuming a fan with 2 pulses/revolution (and 2 pulses/rev being measured), fan speed is calculated by: fan speed rpm fan tach reading () = () 90 000 60 , where fan tach reading = 16-bit fan tachometer reading. example: tach1 high byte (reg. 0x29) = 0x17 tach1 low byte (reg. 0x28) = 0xff what is fan 1 speed in rpm? fan 1 tach reading = 0x17ff = 6143 decimal rpm = (f 60)/fan 1 tach reading rpm = (90000 60)/6143 fan speed = 879 rpm fan pulses per revolution different fan models can output either 1, 2, 3, or 4 tach pulses per revolution. once the number of fan tach pulses has been determined, it can be programmed into the fan pulses per revolution register (reg. 0x7b) for each fan. alternatively, this register can be used to determine the number or pulses/ revolution output by a given fan. by plotting fan speed measure- ments at 100% speed with different pulses/rev setting, the smoothest graph with the lowest ripple determines the correct pulses/rev value. fan pulses per revolution register <1:0> fan1 default = 2 pulses/rev <3:2> fan2 default = 2 pulses/rev <5:4> fan3 default = 2 pulses/rev <7:6> fan4 default = 2 pulses/rev 00 = 1 pulse/rev 01 = 2 pulses/rev 10 = 3 pulses/rev 11 = 4 pulses/rev
rev. a adm1027 ?5 2-wire fan speed measurements the adm1027 is capable of measuring the speed of 2-wire fans, i.e., fans without tach outputs. to do this, the fan must be interfaced as shown in the fan drive circuitry section of the data sheet. in this case, the tach inputs need to be repro- grammed as analog inputs, ain. configuration register 2 (reg. 0x73) bit 3 (ain4) = 1, pin 14 is reconfigured to measure the speed of a 2-wire fan using an external sensing resistor and coupling capacitor. bit 2 (ain3) = 1, pin 9 is reconfigured to measure the speed of a 2-wire fan using an external sensing resistor and coupling capacitor. bit 1 (ain2) = 1, pin 12 is reconfigured to measure the speed of a 2-wire fan using an external sensing resistor and coupling capacitor. bit 0 (ain1) = 1, pin 11 is reconfigured to measure the speed of a 2-wire fan using an external sensing resistor and coupling capacitor. fan spin-up the adm1027 has a unique fan spin-up function. it will spin the fan at 100% pwm duty cycle until two tach pulses are detected on the tach input. once two pulses have been de tected, the pwm duty cycle will go to the expected running value, e.g., 33%. the advantage of this is that fans have dif- fer ent spin-up characteristics and will take different times to overcome inertia. the adm1027 just runs the fans fast enough to overcome inertia and will be quieter on spin-up than fans programmed to spin up for a given spin-up time. fan start-up timeout to prevent false interrupts being generated as a fan spins up (since it is below running speed), the adm1027 includes a fan start-up timeout function. this is the time limit allowed for two tach pulses to be detected on spin-up. for example, if 2 seconds fan start-up timeout is chosen, and no tach pulses occur within 2 seconds of the start of spin-up, a fan fault is detected and flagged in the interrupt status registers. pwm1 configuration (reg. 0x5c) <2:0> spin these bits control the start-up timeout for pwm1. 000 = no startup timeout 001 = 100 ms 010 = 250 ms (default) 011 = 400 ms 101 = 1 sec 110 = 2 sec 111 = 4 sec pwm2 configuration (reg. 0x5d) <2:0> spin these bits control the start-up timeout for pwm2. 000 = no startup timeout 001 = 100 ms 010 = 250 ms (default) 011 = 400 ms 101 = 1 sec 110 = 2 sec 111 = 4 sec pwm3 configuration (reg. 0x5e) <2:0> spin these bits control the start-up timeout for pwm3. 000 = no startup timeout 001 = 100 ms 010 = 250 ms (default) 011 = 400 ms 101 = 1 sec 110 = 2 sec 111 = 4 sec disabling fan start-up timeout although fan start-up makes fan spin-ups much quieter than fixed-time spin-ups, the option is there to use fixed spin-up times. bit 5 (fspdis) = 1 in configuration register 1 (reg. 0 x40) disables the spin-up for two tach pulses. instead, the fan will spin up for the fixed time as selected in registers 0x5c to 0x5e.
rev. a ?6 adm1027 manual fan speed control mode pwm logic state the pwm outputs can be programmed to be high for 100% duty cycle (noninverted) or low for 100% duty cycle (inverted). pwm1 configuration (reg. 0x5c) <4> inv 0 = logic high for 100% pwm duty cycle 1 = logic low for 100% pwm duty cycle pwm2 configuration (reg. 0x5d) <4> inv 0 = logic high for 100% pwm duty cycle 1 = logic low for 100% pwm duty cycle pwm3 configuration (reg. 0x5e) <4> inv 0 = logic high for 100% pwm duty cycle 1 = logic low for 100% pwm duty cycle pwm drive frequency the pwm drive frequency can be adjusted for the application. registers 0x5f to 0x61 configure the pwm frequency for pwm1 to pwm3, respectively. pwm1 frequency registers (reg. 0x5f to 0x61) <2:0> freq 000 = 11.0 hz 001 = 14.7 hz 010 = 22.1 hz 011 = 29.4 hz 100 = 35.3 hz (default) 101 = 44.1 hz 110 = 58.8 hz 111 = 88.2 hz manual fan speed control the adm1027 allows the duty cycle of any pwm output to be manually adjusted. this can be useful if you want to change fan speed in software or want to adjust pwm duty cycle output for test purposes. bits <7:5> of registers 0x5c to 0x5e (pwm configuration) control the behavior of each pwm output. pwm configuration (reg. 0x5c to 0x5e) <7:5> bhvr 111 = manual mode once under manual control, each pwm output may be manually updated by writing to registers 0x30 to 0x32 (pwmx current duty cycle registers). programming the pwm current duty cycle registers the pwm current duty cycle registers are 8-bit registers that allow the pwm duty cycle for each output to be set anywhere from 0% to 100%. this allows the pwm duty cycle to be set in steps of 0.39%. the value to be programmed into the pwm min register is given by value decimal pwm min () = 039 . example 1: for a pwm duty cycle of 50%, value (decimal) = 50/0.39 = 128 decimal value = 128 decimal or 80 hex. example 2: for a pwm duty cycle of 33%, value (decimal) = 33/0.39 = 85 decimal value = 85 decimal or 54 hex. pwm duty cycle registers reg. 0x30 pwm1 duty cycle = 0xff (100% default) reg. 0x31 pwm2 duty cycle = 0xff (100% default) reg. 0x32 pwm3 duty cycle = 0xff (100% default) by reading the pwmx current duty cycle registers, you can keep track of the current duty cycle on each pwm output, even when the fans are running in automatic fan speed control mode or acoustic enhancement mode.
rev. a adm1027 ?7 automatic fan speed control mode the adm1027 has a local temperature sensor and two remote temperature channels that may be connected to an on-chip diode-connected transistor on a cpu. these three temperature channels may be used as the basis for automatic fan speed control to drive fans using pulsewidth modulation (pwm). in general, the greater the number of fans in a system, the better the cooling, but to the detriment of system acoustics. autom atic fan speed control reduces acoustic noise by optimizing fan speed according to measured temperature. reducing fan speed can also decrease system current consumption. the automatic fan speed control mode is very flexible, owing to the number of programmable param- eters, including t min and t range , as discussed in detail later. the t min and t range values chosen for a given fan are critical, since these define the thermal characteristics of the system. the thermal validation of the system is one of the most important steps of the design process, so these values should be carefully selected. the aim of this section is not only to provide the system designer with an understanding of the automatic fan control loop, but also to provide step-by-step guidance as to how to most effectively evaluate and select the critical system parameters. to optimize the system characteristics, the designer needs to give some fore- thought to how the system will be configured, e.g., the number of fans, where they are located, and what temperatures are being measured in the particular system. the mechanical or thermal engineer who is tasked with the actual system evaluation should also be involved at the beginning of the process. automatic fan control overview figure 27 gives a top-level overview of the automatic fan control circuitry on the adm1027. from a systems-level perspective, up to three system temperatures can be monitored and used to control three pwm outputs. the three pwm outputs can be used to control up to four fans. the adm1027 allows the speed of four fans to be monitored. the right side of the block diagram shows controls that are fan-specific. the designer has control over individual parameters such as minimum pwm duty cycle, fan speed failure thresholds, and even ramp control of the pwm outputs. this ultimately allows graceful fan speed changes that are less perceptible to the system user. tachometer 1 measurement ramp control (acoustic enhancement tachometer 2 measurement ramp control (acoustic enhancement tachometer 3 and 4 measurement pwm generator pwm config pwm generator pwm config ramp control (acoustic enhancement pwm generator pwm config  pwm min  pwm min  pwm min mux thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range pwm1 pwm2 pwm3 remote 1 temp local temp remote 2 temp figure 27. automatic fan control block diagram
rev. a ?8 adm1027 step 1 determine the hardware configuration essentially this means choosing whether to use pin 10 as a pwm2 output or as an smbalert output and deciding which smbus address is to be used. to set pin 10 as smbalert , set bit 0 of configuration register 3 (addr = 0x78) equal to 1. the default state is pwm2, where this bit equals 0. it also refers to the layout recommendations of the adm1027 on a motherboard, for example. adm1027 placement considerations motherboards are electrically noisy environments, and care must be taken to protect the analog inputs from noise, particularly the d+/d C lines of a remote diode sensor. the following precautions should be taken: 1. place the adm1027 as close as possible to the remote sensing diode. provided that the worst noise sources such as clocks and data/address buses are avoided, this distance can be 4 inches to 8 inches. 2. route the d+ and d C tracks close together, in parallel, with grounded guard tracks on each side. provide a ground plane under the tracks if possible. do not run the d+/d C lines in different directions. 3. use wide tracks to minimize inductance and reduce noise pickup. a 10 mil track minimum width and spacing is rec ommended. 4. try to minimize the number of copper/solder joints, which can cause thermocouple effects. where copper/solder joints are used, make sure that they are in both the d+ and d C path and at the same temperature. avoid routing d+/d C on multiple layers or through vias if possible. these increase series resistance that will cause temperature error. 5. place a 0.1 m f supply bypass capacitor close to the adm1027. 6. if the distance to the remote sensor is more than 8 inches, the use of shielded twisted pair cable is recommended. this will work up to 100 feet. connect the twisted pair to d+/d C and the shield to gnd close to the adm1027. leave the remote end of the shield unconnected to avoid ground loops. because the measurement technique uses switched current sources, excessive cable (adds resistance) and/or filter capacitance can affect the measurement. a 1 w series resistance introduces about 0.8 o c error.
rev. a adm1027 ?9 step 2 configuring the mux: which temperature controls which fan? having decided on the system hardware configuration, the fans can be assigned to particular temperature channels. not only can fans be assigned to individual channels, but how a fan behaves is configurable. for example, fans can run under automatic fan control, manually (software control), or can run at the fastest speed calculated by multiple temperature channels. the mux is the bridge between temperature measurement channels and the three pwm outputs. bits <7:5> (bhvr bits) of registers 0x5c, 0x5d, and 0x5e (pwm configuration registers) control the behavior of the fans connected to the pwm1, pwm2, and pwm3 outputs. the values selected for these bits determine how the mux connects a temperature measurement channel to a pwm output. automatic fan control mux options <7:5> (bhvr) registers 0x5c, 0x5d, 0x5e 000 = remote 1 temp controls pwmx 001 = local temp controls pwmx 010 = remote 2 temp controls pwmx 101 = fastest speed calculated by local and remote 2 temp controls pwmx 110 = fastest speed calculated by all three temperature channels controls pwmx the fastest speed calculated options refer to the ability to con- trol one pwm output based on multiple temperature channels. while the thermal characteristics of the three temperature zones can be set up differently, they can drive a single fan. an example would be if the fan turns on when remote 1 temp exceeds 60 c or local temp exceeds 45 c. other mux options <7:5> (bhvr) registers 0x5c, 0x5d, 0x5e 011 = pwmx runs full-speed (default). 100 = pwmx disabled. 111 = manual mode. pwmx is run under software control. in this mode, pwm duty cycle registers (reg. 0x30 to 0x32) are writable and control the pwm outputs. remote 1 = ambient temp local = vrm temp remote 2 = cpu temp pwm1 tach1 cpu fansink front chassis rear chassis pwm3 tach3 pwm2 tach2 mux tachometer 1 measurement ramp control (acoustic enhancement tachometer 2 measurement ramp control (acoustic enhancement tachometers 3 and 4 measurement pwm generator pwm generator ramp control (acoustic enhancement pwm generator pwm config  pwm min mux thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range  pwm min  pwm min pwm config pwm config figure 28. assigning temperature channels to fan channels
rev. a ?0 adm1027 step 3 determine t min setting for each thermal channel t min is the temperature at which the fans will start to turn on under automatic fan control. the speed at which the fan runs at t min is programmed later. the t min values chosen will be temperature channel specific, e.g., 25 c for ambient channel, 30 c for vrm temperature, and 40 c for processor temperature. t min is an 8-bit twos complement value that can be pro- grammed in 1 c increments. there is a t min register associated with each temperature measurement channel, remote 1, local and remote 2 temp. once the t min value is exceeded, the fan turns on and runs at minimum pwm duty cycle. the fan will turn off once temperature has dropped below t min ?t hyst (detailed later). to overcome fan inertia, the fan is spun up until two valid tach rising edges are counted. see the fan start-up timeout section for more details. in some cases, primarily for psycho-acoustic reasons, it is desirable that the fan never switches off below t min . bits <7:5> of enhance acoustics register 1 (reg. 0x62), when set, keep the fans running at pwm minimum duty cycle should the temperature be below t min . t min registers reg. 0x67 remote 1 temperature t min = 0x5a (90 c default) reg. 0x68 local temperature t min = 0x5a (90 c default) reg. 0x69 remote 2 temperature t min = 0x5a (90 c default) enhance acoustics reg 1 (reg. 0x62) bit 7 (min3) = 0, pwm3 is off (0% pwm duty cycle) when temperature is below t min ?t hyst . bit 7 (min3) = 1, pwm3 runs at pwm3 minimum duty cycle below t min ?t hyst . bit 6 (min2) = 0, pwm2 is off (0% pwm duty cycle) when temperature is below t min ?t hyst . bit 6 (min2) = 1, pwm2 runs at pwm2 minimum duty cycle below t min ?t hyst . bit 5 (min1) = 0, pwm1 is off (0% pwm duty cycle) when temperature is below t min ?t hyst . bit 5 (min1) = 1, pwm1 runs at pwm1 minimum duty cycle below t min ?t hyst . t min 0% 100% pwm duty cycle tachometer 1 measurement ramp control (acoustic enhancement tachometer 2 measurement ramp control (acoustic enhancement tachometers 3 and 4 measurement pwm generator pwm generator ramp control (acoustic enhancement pwm generator pwm config  pwm min mux thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range  pwm min  pwm min pwm config pwm config remote 1 = ambient temp local = vrm temp remote 2 = cpu temp pwm1 tach1 cpu fansink front chassis rear chassis pwm3 tach3 pwm2 tach2 figure 29. understanding t min parameter
rev. a adm1027 ?1 step 4 determine pwm min for each pwm (fan) output pwm min is the minimum pwm duty cycle that each fan in the system will run at. it is also the start speed for each fan under automatic fan control once the temperature rises above t min . for maximum system acoustic benefit, pwm min should be as low as possible. starting the fans at higher speeds than necessary will merely make the system louder than needed. depending on the fan used, the pwm min setting should be in the range 20% to 33% duty cycle. this value can be found through fan validation. temperature t min 100% pwm min 0% pwm duty cycle figure 30. pwm min determines minimum pwm duty cycle it is important to note that more than one pwm output can be controlled from a single temperature measurement channel. for example, remote 1 temperature can control pwm1 and pwm2 outputs. if two different fans are used on pwm1 and pwm2, then the fan characteristics can be set up differently. so fan 1 driven by pwm1 can have a different pwm min value than that of fan 2 connected to pwm2. figure 31 illustrates this as pwm1 min (front fan) is turned on at a minimum duty cycle of 20%, whereas pwm2 min (rear fan) turns on at a minimum of 40% duty cycle. note however, that both fans turn on at the exact same temperature, defined by t min . temperature t min 100% pwm1 min 0% pwm duty cycle pwm1 pwm2 pwm2 min figure 31. operating two different fans from a single-temperature channel programming the pwm min registers the pwm min registers are 8-bit registers that allow the minimum pwm duty cycle for each output to be configured anywhere from 0% to 100%. this allows minimum pwm duty cycle to be set in steps of 0.39%. the value to be programmed into the pwm min register is given by value decimal pwm min () = 039 . example 1: for a minimum pwm duty cycle of 50%, value (decimal) = 50/0.39 = 128 decimal value = 128 decimal or 80 hex example 2: for a minimum pwm duty cycle of 33%, value (decimal) = 33/0.39 = 85 decimal value = 85 decimal or 54 hex pwm min registers reg. 0x64 pwm1 minimum duty cycle = 0x80 (50% default) reg. 0x65 pwm2 minimum duty cycle = 0x80 (50% default) reg. 0x66 pwm3 minimum duty cycle = 0x80 (50% default) fan speed and pwm duty cycle note that pwm duty cycle does not directly correlate to fan speed in rpm. running a fan at 33% pwm duty cycle does not equate to running the fan at 33% speed. driving a fan at 33% pwm duty cycle actually runs the fan at closer to 50% of its full speed. this is because fan speed in %rpm relates to the square root of pwm duty cycle. given a pwm square wave as the drive signal, fan speed in rpm equates to % fan speed pwm duty cycle = 10
rev. a ?2 adm1027 step 5 determine t range for each temperature channel t range is the range of temperature over which automatic fan control occurs once the programmed t min temperature has been exceeded. t range is actually a temperature slope and not an arbitrary value, i.e., a t range of 40 c only holds true for pwm min = 33%. if pwm min is increased or decreased, the effective t range is changed, as described later. temperature t min 100% pwm min 0% pwm duty cycle t range figure 32. t range parameter affects cooling slope the t range or fan control slope is determined by the following procedure: 1. determine the maximum operating temperature for that channel, e.g., 70 c. 2. determine experimentally the fan speed (pwm duty cycle value) will not exceed that temperature at the worst-case operating points, e.g., 70 c is reached when the fans are running at 50% pwm duty cycle. 3. determine the slope of the required control loop to meet these requirements. 4. use best fit approximation to determine the most suitable t range value. there is adm1027 evaluation software avail- able to calculate the best fit value; ask your local analog devices representative for more details. t min 100% 33% 0% pwm duty cycle 50% 30  c 40  c figure 33. adjusting pwm min affects t range t range is implemented as a slope, which means as pwm min is changed, t range changes, but the actual slope remains the same. the higher the pwm min value, the smaller the effective t range will be, i.e., the fan will reach full speed (100%) at a lower temperature. t min 100% 33% 0% pwm duty cycle 50% 30  c 40  c 25% 10% 45  c 54  c figure 34. increasing pwm min changes effective t range for a given t range value, the temperature at which the fan will run full-speed for different pwm min values can easily be calculated: tt m axd.c. mind.c. t max min range =+ - () 170 where: t max = temperature at which the fan runs full-speed t min = temperature at which the fan will turn on maxd.c. = maximum duty cycle (100%) = 255 decimal mind.c. = pwm min t range = pwm duty cycle versus temperature slope example: calculate t max , given t min = 30 c, t range = 40 c, and pwm min = 10% duty cycle = 26 decimal tt m axd c mind c t max min range =+ - () .. .. 170 tc c max = +- () 30 100 10 40 170 %% tc c max = +- () 30 255 26 40 170 t max = 84 c ( effective t range = 54 c ) example: calculate t max , given t min = 30 c, t range = 40 c and pwm min = 25% duty cycle = 64 decimal tt m axd c mind c t max min range =+ - () .. .. 170 tc c max = +- () 30 100 25 40 170 %% tc c max = +- () 30 255 64 40 170 t max = 75 c ( effective t range = 45 c )
rev. a adm1027 ?3 example: calculate t max , given t min = 30 c , t range = 40 c, and pwm min = 33% duty cycle = 85 decimal tt m axd c mind c t max min range =+ - () .. .. 170 tc c max = +- () 30 100 33 40 170 %% tc c max = +- () 30 255 85 40 170 t max = 70 c ( effective t range = 40 c ) example: calculate t max , given t min = 30 c, t range = 40 c, and pwm min = 50% duty cycle = 128 decimal tt m axd c mind c t max min range =+ - () .. .. 170 tc c max = +- () 30 100 50 40 170 %% tc c max = +- () 30 255 128 40 170 t max = 60 c ( effective t range = 30 c ) selecting a t range slope the t range value can be selected for each temperature channel: remote 1, local and remote 2 temp. bits <7:4> (trange) of registers 0x5f to 0x61 define the t range value for each temperature channel. bits <7:4> * t range ( c) 0000 2 0001 2.5 0010 3.33 0011 4 0100 5 0101 6.67 0110 8 0111 10 1000 13.33 1001 16 1010 20 1011 26.67 1100 32 (default) 1101 40 1110 53.33 1111 80 * register 0x5f configures remote 1 t range . register 0x60 configures local t range . register 0x61 configures remote 2 t range .
rev. a ?4 adm1027 step 6 determine t therm for each temperature channel t therm is the absolute maximum temperature allowed on a temperature channel. above this temperature, a component such as the cpu or vrm may be operating beyond its safe operating limit. when the measured temperature exceeds t therm , all fans are driven at 100% pwm duty cycle (full speed) to provide critical system cooling. the fans remain running at 100% until the temperature drops below t therm ?hysteresis. the hysteresis value is 4 c. the t therm limit should be considered the maximum worst- case operating temperature of the system. since exceeding any t therm limit runs all fans at 100%, it has very negative acoustic effects. ultimately, this limit should be set up as a fail-safe, and the user should ensure that it is not exceeded under normal system operating conditions. note that the t therm limits are nonmaskable and affect the fan speed no matter what automatic fan control settings are config- ured. this allows some flexibility since a t range value can be selected based on its slope, while a hard limit, e.g., 70 c, can be programmed as t max (the temperature at which the fan reaches full speed) by setting t therm to 70 c. therm hysteresis is 4 c. therm registers reg. 0x6a remote 1 therm limit = 0x64 (100 c default) reg. 0x6b local temperature therm limit = 0x64 (100 c default) reg. 0x6c remote 2 therm limit = 0x64 (100 c default) t min pwm duty cycle 0% 100% t therm tachometer 1 measurement ramp control (acoustic enhancement) tachometer 2 measurement ramp control (acoustic enhancement) tachometers 3 and 4 measurement pwm generator pwm generator ramp control (acoustic enhancement) pwm generator pwm config  pwm min mux thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range  pwm min  pwm min pwm config pwm config remote 1 = ambient temp local = vrm temp remote 2 = cpu temp pwm1 tach1 cpu fansink front chassis rear chassis pwm3 tach3 pwm2 tach2 t range figure 35. understanding how t therm relates to automatic fan control
rev. a adm1027 ?5 step 7 determine t hyst for each temperature channel t hyst is the amount of extra cooling a fan provides after the measured temperature has dropped back below t min before the fan turns off. the premise for temperature hysteresis (t hyst ) is that without it, the fan would merely chatter, or cycle on and off regularly, whenever the temperature is hov ering about the t min setting. the t hyst value chosen will determine the amount of time needed for the system to cool down or heat up, as the fan is turning on and off. values of hysteresis are programmable in the range 1 c to 15 c. larger values of t hyst prevent the fans chattering on and off as previously described. the t hyst default value is 4 c. hysteresis registers reg. 0x6d remote 1, local hysteresis register <7:4> = remote 1 temperature hysteresis (default = 4 c) <3:0> = local temperature hysteresis (default = 4 c) reg. 0x6e remote 2 temperature hysteresis register <7:4> = remote 2 temperature hysteresis (default = 4 c) note that in some applications it is required that the fans not turn off below t min , but remain running at pwm min . bits <7:5> of enhance acoustics register 1 (reg. 0x62) allow the fans to be turned off or kept spinning below t min . if the fans are always on, the t hyst value has no effect on the fan when the tempera- ture drops below t min . enhance acoustics register 1 (reg. 0x62) bit 7 (min3) = 0, pwm3 is off (0% pwm duty cycle) when temperature is below t min ?t hyst . bit 7 (min3) = 1, pwm3 runs at pwm3 minimum duty cycle below t min ?t hyst . bit 6 (min2) = 0, pwm2 is off (0% pwm duty cycle) when temperature is below t min ?t hyst . bit 6 (min2) = 1, pwm2 runs at pwm2 minimum duty cycle below t min ?t hyst . bit 5 (min1) = 0, pwm1 is off (0% pwm duty cycle) when temperature is below t min ?t hyst . bit 5 (min1) = 1, pwm1 runs at pwm1 minimum duty cycle below t min ?t hyst . pwm duty cycle 0% 100% t range t hyst t min t therm tachometer 1 measurement ramp control (acoustic enhancement) tachometer 2 measurement ramp control (acoustic enhancement) tachometers 3 and 4 measurement pwm generator pwm generator ramp control (acoustic enhancement) pwm generator pwm config  pwm min mux thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range  pwm min  pwm min pwm config pwm config remote 1 = ambient temp local = vrm temp remote 2 = cpu temp pwm1 tach1 cpu fansink front chassis rear chassis pwm3 tach3 pwm2 tach2 figure 36. the t hyst value applies to fan on/off hysteresis and therm hysteresis
rev. a ?6 adm1027 enhancing system acoustics automatic fan speed control mode reacts instantaneously to changes in temperature, i.e., the pwm duty cycle will respond immediately to temperature change. any impulses in tempera- ture can cause an impulse in fan noise. for psycho-acoustic reasons, the adm1027 can prevent the pwm output from reacting instantaneously to temperature changes. enhanced acoustic mode will control the maximum change in pwm duty cycle in a given time. the objective is to prevent the fan cycling up and down and annoying the system user. acoustic enhancement mode overview figure 37 gives a top-level overview of the automatic fan control circuitry on the adm1027 and where acoustic enhancement fits in. acoustic enhancement is intended as a post-design tweak when a system or mechanical engineer is evaluating best settings for the system. having determined the optimal settings for the thermal solution, the engineer can adjust the system acoustics. the goal is to implement a system that is acoustically pleasing without causing the user annoyance due to fan cycling. it is important to realize that although a system may pass an acoustic noise requirement specification, e.g., 36 db, if the fan is annoying, it will fail the consumer test. the approach there are two different approaches to implementing system acoustic enhancement. the first m ethod is temperature- centric. this involves smoothing transient temperatures as they are mea- sured by a temperature source, e.g., remote 1 t empera ture. the temperature values used to calculate pwm duty cycle values would be smoothed, reducing fan speed variation. how ever, this approach causes an inherent delay in updating fan speed and causes the thermal characteristics of the system to change. it also causes the system fans to stay on longer than necessary, since the fan reaction is merely delayed. the user also has no control over noise from different fans driven by the same tempera- ture sou rce. consider controlling a cpu cooler fan (on pwm1) and a chassis fan (on pwm2) using remote 1 temperature. because the remote 1 temperature is smoothed, both fans will be updated at exactly the same rate. if the chassis fan is much louder than the cpu fan, there is no way to improve its acoustics without changing the thermal solution of the cpu cooling fan. the second approach is fan-centric. the idea is to control the pwm duty cycle driving the fan at a fixed rate, e.g., 6%. each time the pwm duty cycle is updated, it is incremented by a fixed 6%. so the fan ramps smoothly to its newly calculated speed. if the temperature starts to drop, the pwm duty cycle immediately decreases by 6% every update. so the fan ramps smoothly up or down without inherent system delay. consider controlling the same cpu cooler fan (on pwm1) and chassis fan (on pwm2) using remote 1 temperature. the t min and t range settings have already been defined in automatic fan speed control mode, i.e., thermal characterization of the control loop has been optimized. now the chassis fan is noisier than the cpu cooling fan. so pwm2 can be placed into acoustic enhancement mode independent of pwm1. the acoustics of the chassis fan can therefore be adjusted without affecting the acoustic behavior of the cpu cooling fan, even though both fans are being controlled by remote 1 temperature. this is exactly how acoustic enhancement works on the adm1027. acoustic enhancement tachometer 1 measurement ramp control (acoustic enhancement) tachometer 2 measurement ramp control (acoustic enhancement) tachometers 3 and 4 measurement pwm generator pwm generator ramp control (acoustic enhancement) pwm generator pwm config  pwm min mux thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range thermal calibration 100% 0% t min t range  pwm min  pwm min pwm config pwm config remote 1 = ambient temp local = vrm temp remote 2 = cpu temp pwm1 tach1 cpu fansink front chassis rear chassis pwm3 tach3 pwm2 tach2 figure 37. acoustic enhancement smooths fan speed variations under automatic fan speed control
rev. a adm1027 ?7 enabling acoustic enhancement for each pwm output enhanced acoustics register 1 (reg. 0x62) <3> = 1 enables acoustic enhancement on pwm1 output. enhanced acoustics register 2 (reg. 0x63) <7> = 1 enables acoustic enhancement on pwm2 output. <3> = 1 enables acoustic enhancement on pwm3 output. effect of ramp rate on enhanced acoustics mode the pwm signal driving the fan will have a period, t, given by the pwm drive frequency, f, since t = 1/f. for a given pwm period, t, the pwm period is subdivided into 255 equal time slots. one time slot corresponds to the sm allest possible incre- ment in pwm duty cycle. a pwm signal of 33% duty cycle will thus be high for 1/3 255 time slots and low for 2/3 255 time slots. therefore, 33% pwm duty cycle corresponds to a signal that is high for 85 time slots and low for 170 time slots. 170 time slots 85 time slots pwm output (one period) = 255 time slots pwm_out 33% duty cycle figure 38. 33% pwm duty cycle represented in time slots the ramp rates in enhanced acoustics mode are selectable between 1, 2, 3, 5, 8, 12, 24, and 48. the ramp rates are actu- ally discrete time slots. for example, if the ramp rate = 8, then eight time slots will be added to the pwm high duty cycle each time the pwm duty cycle needs to be increased. if the pwm duty cycle value needs to be decreased, it will be decreased by eight time slots. figure 39 shows how the enhanced acoustics mode algorithm operates. read temperature calculate new pwm duty cycle is new pwm value > previous value? increment previous pwm value by ramp rate yes no decrement previous pwm value by ramp rate figure 39. enhanced acoustics algorithm the enhanced acoustics mode algorithm calculates a new pwm duty cycle based on the temperature measured. if the new pwm duty cycle value is greater than the previous pwm value, then the previous pwm duty cycle value is incremented by either 1, 2, 3, 5, 8, 12, 24, or 48 time slots (depending on the settings of the enhanced acoustics registers). if the new pwm duty cycle value is less than the previous pwm value, then the previous pwm duty cycle is decremented by 1, 2, 3, 5, 8, 12, 24, or 48 time slots. each time the pwm duty cycle is incremented or decremented, it is stored as the previous pwm duty cycle for the next comparison. a ramp rate of 1 corresponds to one time slot, which is 1/255 of the pwm period. in enhanced a coustics mode, incrementing or decrementing by 1 changes the pwm output by 1/255 100%. it is important to note that when using the enhanced acoustics mode, the fan spin-up should be disabled.
rev. a ?8 adm1027 choosing ramp rate for acoustic enhancement the optimal ramp rate for acoustic enhancement can be found through system characterization after the thermal optimization has been finished. each ramp rate? effects should be logged, if possible, to determine the best setting for a given solution. enhanced acoustics register 1 (reg. 0x62) <2:0> acou select the ramp rate for pwm1. 000 = 1 time slot = 35 sec 001 = 2 time slots = 17.6 sec 010 = 3 time slots = 11.8 sec 011 = 5 time slots = 7 sec 100 = 8 time slots = 4.4 sec 101 = 12 time slots = 3 sec 110 = 24 time slots = 1.6 sec 111 = 48 time slots = 0.8 sec enhanced acoustics register 2 (reg. 0x63) <2:0> acou3 select the ramp rate for pwm3. 000 = 1 time slot = 35 sec 001 = 2 time slots = 17.6 sec 010 = 3 time slots = 11.8 sec 011 = 5 time slots = 7 sec 100 = 8 time slots = 4.4 sec 101 = 12 time slots = 3 sec 110 = 24 time slots = 1.6 sec 111 = 48 time slots = 0.8 sec <6:4> acou2 select the ramp rate for pwm2. 000 = 1 time slot = 35 sec 001 = 2 time slots = 17.6 sec 010 = 3 time slots = 11.8 sec 011 = 5 time slots = 7 sec 100 = 8 time slots = 4.4 sec 101 = 12 time slots = 3 sec 110 = 24 time slots = 1.6 sec 111 = 48 time slots = 0.8 sec another way to view the ramp rates is as the time it takes for the pwm output to ramp from 0% to 100% duty cycle for an in stan- taneous change in temperature. this can be tested by putting the adm1027 into manual mode and changing the pwm output from 0% to 100% pwm duty cycle. the pwm output takes 35 sec to reach 100% with a ramp rate of 1 time slot selected. time ?sec 140 0 0.76 120 100 80 60 40 20 0 120 100 80 60 40 20 0 r temp (  c) power duty cycle (%) figure 40. enhanced acoustics mode with ramp rate = 48 figure 40 shows remote temperature plotted against pwm duty cycle for enhanced acoustics mode. the ramp rate is set to 48, which corresponds to the fastest ramp rate. assume that a new temperature reading is available every 115 ms. with these set- tings, it took approximately 0.76 seconds to go from 33% duty cycle to 100% duty cycle (full speed). it can be seen that even though the temperature increased very rapidly, the fan ramps up to full speed gradually. figure 41 shows how changing the ramp rate from 48 to 8 affects the control loop. the overall response of the fan is slower. since the ramp rate is reduced, it takes longer for the fan to achieve full running speed. in this case, it took approxi- mately 4.4 sec for the fan to reach full speed. time ?sec 120 0 4.4 140 120 100 80 60 40 0 100 80 60 40 20 0 20 figure 41. enhanced acoustics mode with ramp rate = 8 as can be seen from the preceding examples, the rate at which the fan will react to temperature change is dependent on the ramp rate selected in the enhance acoustics registers. the higher the ramp rate, the faster the fan will reach the newly calculated fan speed. figure 42 shows the behavior of the pwm output as temperature varies. as the temperature rises, the fan speed ramps up. small drops in temperature will not affect the ramp-up function since the newly calculated fan speed will still be higher than the previous pwm value. the enhanced acoustics mode allows the pwm output to be made less sensitive to temperature variations. this will be dependent on the ramp rate selected and programmed into the enhanced acoustics. 90 90 80 70 60 50 40 20 80 70 60 50 40 0 30 10 30 20 10 0 r temp pwm duty cycle figure 42. how fan reacts to temperature variation in enhanced acoustics mode
rev. a adm1027 ?9 operating from 3.3 v standby the adm1027 has been specifically designed to operate from a 3.3 v stby supply. in computers that support s3 and s5 states, the core voltage of the processor will be lowered in these states. note that since other voltages can drop or be turned off during a low power state, these voltage channels will set status bits or generate smbalert s. it is still necessary to mask out these channels prior to entering a low power state by using the interrupt mask registers. when exiting the low power state, the mask bits can be cleared. this prevents the device from generating unw anted smbalert s during the low power state. xor tree test mode the adm1027 includes an xor tree test mode. this mode is useful for in-circuit test equipment at board-level testing. by applying stimulus to the pins included in the xor tree, it is possible to detect opens or shorts on the system board. figure 43 shows the signals that are exercised in the xor tree test mode. the xor tree test is invoked by setting bit 0 (xen) of the xor tree test enable register (reg. 0x6f). pwm1/xto pwm3 pwm2 tach4 tach3 tach2 tach1 vid4 vid3 vid2 vid1 vid0 figure 43. xor tree test
rev. a ?0 adm1027 table iv. adm1027 registers address r/w description bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 default lockable? 0x20 r 2.5 v reading 9 8 7 6 5 4 3 2 0x00 0x21 r v ccp reading 9 8 7 6 5 4 3 2 0x00 0x22 r v cc reading 9 8 7 6 5 4 3 2 0x00 0x23 r 5 v reading 9 8 7 6 5 4 3 2 0x00 0x24 r 12 v reading 9 8 7 6 5 4 3 2 0x00 0x25 r remote 1 temperature 9 8 7 6 5 4 3 2 0x80 0x26 r local temperature 9 8 7 6 5 4 3 2 0x80 0x27 r remote 2 temperature 9 8 7 6 5 4 3 2 0x80 0x28 r tach1 low byte 7 6 5 4 3 2 1 0 0x00 0x29 r tach1 high byte 15 14 13 12 11 10 9 8 0x00 0x2a r tach2 low byte 7 6 5 4 3 2 1 0 0x00 0x2b r tach2 high byte 15 14 13 12 11 10 9 8 0x00 0x2c r tach3 low byte 7 6 5 4 3 2 1 0 0x00 0x2d r tach3 high byte 15 14 13 12 11 10 9 8 0x00 0x2e r tach4 low byte 7 6 5 4 3 2 1 0 0x00 0x2f r tach4 high byte 15 14 13 12 11 10 9 8 0x00 0x30 r/w pwm1 current duty cycle 7 6 5 4 3 2 1 0 0xff 0x31 r/w pwm2 current duty cycle 7 6 5 4 3 2 1 0 0xff 0x32 r/w pwm3 current duty cycle 7 6 5 4 3 2 1 0 0xff 0x3d r device id register 7 6 5 4 3 2 1 0 0x27 0x3e r company id number 7 6 5 4 3 2 1 0 0x41 0x3f r revision number ver ver ver ver stp stp stp stp 0x60 0x40 r/w configuration register 1 v cc todis fspdis v i fspd rdy lock strt 0x00 yes 0x41 r interrupt status register 1 ool r2t lt r1t 5 v v cc v ccp 2.5 v 0x00 0x42 r interrupt status register 2 d2 d1 5 fan3 fan2 fan1 ovt 12 v 0x00 0x43 r/w vid register 7 6 5 vid4 vid3 vid2 vid1 vid0 0xff 0x44 r/w 2.5 v low limit 7 6 5 4 3 2 1 0 0x00 0x45 r/w 2.5 v high limit 7 6 5 4 3 2 1 0 0xff 0x46 r/w v ccp low limit 7 6 5 4 3 2 1 0 0x00 0x47 r/w v ccp high limit 7 6 5 4 3 2 1 0 0xff 0x48 r/w v cc low limit 7 6 5 4 3 2 1 0 0x00 0x49 r/w v cc high limit 7 6 5 4 3 2 1 0 0xff 0x4a r/w 5 v low limit 7 6 5 4 3 2 1 0 0x00 0x4b r/w 5 v high limit 7 6 5 4 3 2 1 0 0xff 0x4c r/w 12 v low limit 7 6 5 4 3 2 1 0 0x00 0x4d r/w 12 v high limit 7 6 5 4 3 2 1 0 0xff 0x4e r/w remote 1 temp low limit 7 6 5 4 3 2 1 0 0x81 0x4f r/w remote 1 temp high limit 7 6 5 4 3 2 1 0 0x7f 0x50 r/w local temp low limit 7 6 5 4 3 2 1 0 0x81 0x51 r/w local temp high limit 7 6 5 4 3 2 1 0 0x7f 0x52 r/w remote 2 temp low limit 7 6 5 4 3 2 1 0 0x81 0x53 r/w remote 2 temp high limit 7 6 5 4 3 2 1 0 0x7f 0x54 r/w tach1 minimum low byte 7 6 5 4 3 2 1 0 0xff 0x55 r/w tach1 minimum high byte 15 14 13 12 11 10 9 8 0xff 0x56 r/w tach2 minimum low byte 7 6 5 4 3 2 1 0 0xff 0x57 r/w tach2 minimum high byte 15 14 13 12 11 10 9 8 0xff 0x58 r/w tach3 minimum low byte 7 6 5 4 3 2 1 0 0xff 0x59 r/w tach3 minimum high byte 15 14 13 12 11 10 9 8 0xff 0x5a r/w tach4 minimum low byte 7 6 5 4 3 2 1 0 0xff 0x5b r/w tach4 minimum high byte 15 14 13 12 11 10 9 8 0xff
rev. a adm1027 ?1 table iv. adm1027 registers (continued) address r/w description bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 default lockable? 0x5c r/w pwm1 configuration register bhvr bhvr bhvr inv 3 spin spin spin 0x62 yes 0x5d r/w pwm2 configuration register bhvr bhvr bhvr inv 3 spin spin spin 0x62 yes 0x5e r/w pwm3 configuration register bhvr bhvr bhvr inv 3 spin spin spin 0x62 yes 0x5f r/w remote 1 t range /pwm 1 freq range range range range 3 freq freq freq 0xc4 yes 0x60 r/w local t range /pwm 2 freq range range range range 3 freq freq freq 0xc4 yes 0x61 r/w remote 2 t range /pwm 3 freq range range range range 3 freq freq freq 0xc4 yes 0x62 r/w enhance acoustics reg 1 min3 min2 min1 4 en1 acou acou acou 0x00 yes 0x63 r/w enhance acoustics reg 2 en2 acou2 acou2 acou2 en3 acou3 acou3 acou3 0x00 yes 0x64 r/w pwm1 min duty cycle 7 6 5 4 3 2 1 0 0x80 yes 0x65 r/w pwm2 min duty cycle 7 6 5 4 3 2 1 0 0x80 yes 0x66 r/w pwm3 min duty cycle 7 6 5 4 3 2 1 0 0x80 yes 0x67 r/w remote 1 temp t min 76 5 432 10 0x5a yes 0x68 r/w local temp t min 76 5 432 10 0x5a yes 0x69 r/w remote 2 temp t min 76 5 432 10 0x5a yes 0x6a r/w remote 1 therm limit 7 6 5 4 3 2 1 0 0x64 yes 0x6b r/w local therm limit 7 6 5 4 3 2 1 0 0x64 yes 0x6c r/w remote 2 therm limit 7 6 5 4 3 2 1 0 0x64 yes 0x6d r/w remote 1, local hysteresis hysr1 hysr1 hysr1 hysr1 hysl hysl hysl hysl 0x44 yes 0x6e r/w remote 2 temp hysteresis hysr2 hysr2 hysr2 hysr2 res res res res 0x40 yes 0x6f r/w xor tree test enable res res res res res res res xen 0x00 yes 0x70 r/w remote 1 temperature offset 7 6 5 4 3 2 1 0 0x00 yes 0x71 r/w local temperature offset 7 6 5 4 3 2 1 0 0x00 yes 0x72 r/w remote 2 temperature offset 7 6 5 4 3 2 1 0 0x00 yes 0x73 r/w configuration register 2 7 conv attn avg ain4 ain3 ain2 ain1 0x00 yes 0x74 r/w interrupt mask 1 register ool r2t lt r1t 5 v v cc v ccp 2.5 v 0x00 0x75 r/w interrupt mask 2 register d2 d1 5 fan3 fan2 fan1 ovt 12 v 0x00 0x76 r/w extended resolution 1 5 v 5 v v cc v cc v ccp v ccp 2.5 v 2.5 v 0x00 0x77 r/w extended resolution 2 tdm2 tdm2 ltmp ltmp tdm1 tdm1 12 v 12 v 0x00 0x78 r/w configuration register 3 dc4 dc3 dc2 dc1 fast boost 1 alert 0x00 yes 0x7b r/w fan pulses per revolution fan4 fan4 fan3 fan3 fan2 fan2 fan1 fan1 0x55
rev. a ?2 adm1027 table v. voltage reading registers (power-on default = 0x00) register address r/w description 0x20 read-only 2.5 v reading (8 msbs of reading). 0x21 read-only v ccp reading. holds processor core voltage measurement (8 msbs of reading). 0x22 read-only v cc reading. measures v cc through the v cc pin (8 msbs of reading). 0x23 read-only 5 v reading (8 msbs of reading). 0x24 read-only 12 v reading (8 msbs of reading). if the extended resolution bits of these readings are also being read, the extended resolution registers (reg. 0x76, 0x77) shou ld be read first. once the extended resolution register is read, the associated msb reading registers are frozen until read. both the exte nded resolution register and the msb registers are frozen. table vi. temperature reading registers (power-on default = 0x80) register address r/w description 0x25 read-only remote 1 temperature reading * (8 msbs of reading). 0x26 read-only local temperature reading (8 msbs of reading). 0x27 read-only remote 2 temperature reading * (8 msbs of reading). these temperature readings are in twos complement format. * note that a reading of 0x80 in a temperature reading register indicates a diode fault (open or short) on that channel. if the e xtended resolution bits of these readings are also being read, the extended resolution registers (reg. 0x76, 0x77) should be read first. once the extended resolution reg ister is read, all associated msb reading registers are frozen until read. both the extended resolution register and the msb registers are frozen. table vii. fan tachometer reading registers (power-on default = 0x00) register address r/w description 0x28 read-only tach1 low byte 0x29 read-only tach1 high byte 0x2a read-only tach2 low byte 0x2b read-only tach2 high byte 0x2c read-only tach3 low byte 0x2d read-only tach3 high byte 0x2e read-only tach4 low byte 0x2f read-only tach4 high byte these registers count the number of 11.11 m s periods (based on an internal 90 khz clock) that occur between a number of consecutive fan tach pulses (default = 2). the number of tach pulses used to count can be changed using the fan pulses per revolution regis ter (reg. 0x7b). this allows the fan speed to be accurately measured. since a valid fan tachometer reading requires that two bytes are read; the low byte must be read first. both the low and high bytes are then frozen until read. at power-on, these registers con tain 0x0000 until such time as the first valid fan tach measurement is read in to these registers. this prevents false interrupts fr om occurring while the fans are spinning up. a count of 0xffff indicates that a fan is: 1. stalled or blocked (object jamming the fan) 2. failed (internal circuitry destroyed) 3. not populated (the adm1027 expects to see a fan connected to each tach. if a fan is not connected to that tach, its tach minimum high and low bytes should be set to 0xffff.) 4. 2-wire instead of 3-wire fan
rev. a adm1027 ?3 table viii. current pwm duty cycle registers (power-on default = 0xff) register address r/w description 0x30 read/write pwm1 current duty cycle (0% to 100% duty cycle = 0x00 to 0xff) 0x31 read/write pwm2 current duty cycle (0% to 100% duty cycle = 0x00 to 0xff) 0x32 read/write pwm3 current duty cycle (0% to 100% duty cycle = 0x00 to 0xff) these registers reflect the pwm duty cycle driving each fan at any given time. when in automatic fan speed control mode, the ad m1027 reports the pwm duty cycles back through these registers. the pwm duty cycle values will vary according to temperature in automatic fan speed control mode. during fan startup, these registers report back 0x00. in software mode, the pwm duty cycle outputs can be set to any duty cycle value by writing to these registers. table ix. register 0x40 ?configuration register 1 (power-on default = 0x00) bit name r/w description <0> strt read/write logic 1 enables monitoring and pwm control outputs based on the limit settings pro- grammed. logic 0 disables monitoring and pwm control based on the default power-up limit settings. note that the limit values programmed are preserved even if a logic 0 is written to this bit and the default settings are enabled. this bit becomes read-only and cannot be changed once bit 1 (lock bit) has been written. all limit registers should be programmed by bios before setting this bit to 1 (lockable). <1> lock write once logic 1 locks all limit values to their current settings. once this bit is set, all lockable registers become read-only and cannot be modified until the adm1027 is powered down and powered up again. this prevents rogue programs such as viruses from modifying critical system limit settings (lockable). <2> rdy read-only this bit gets set to 1 by the adm1027 to indicate that the device is fully powered up and ready to begin systems monitoring. <3> fspd read/write when set to 1, this runs all fans at full speed. power-on default = 0. this bit does not get locked at any time. <4> v i read/write bios should set this bit to 1 when the adm1027 is configured to measure current from an adi adopt vrm controller and measure the cpu? core voltage. this will allow monitoring software to display cpu watts usage (lockable). <5> fspdis read/write logic 1 disables fan spin-up for two tach pulses. instead, the pwm outputs will go high for the entire fan spin-up timeout selected. <6> todis read/write when this bit is set to 1, the smbus timeout feature is disabled. this allows the adm1027 to be used with smbus controllers that cannot handle smbus timeouts (lockable). <7> v cc read/write when this bit is set to 1, the adm1027 rescales its v cc pin to measure a 5 v supply. if this bit is 0, the adm1027 measures v cc as a 3.3 v supply (lockable).
rev. a ?4 adm1027 table x. register 0x41 ?interrupt status register 1 (power-on default = 0x00) bit name read/write description <0> 2.5 v read-only a 1 indicates the 2.5 v high or low limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. <1> v ccp read-only a 1 indicates the v ccp high or low limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. <2> v cc read-only a 1 indicates the v cc high or low limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. <3> 5 v read-only a 1 indicates the 5 v high or low limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. <4> r1t read-only a 1 i ndicates the remote 1 low or high temp limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. <5> lt read-only a 1 indicates the local low or high temp limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. <6> r2t read-only a 1 indicates the remote 2 low or high temperature limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. <7> ool read-only a 1 indicates that an out-of-limit event has been latched in status register 2. this bit is a logical or of all status bits in status register 2. software can test this bit in isolation to determine whether any of the voltage, temperature, or fan speed readings represented by status register 2 are out-of-limit. this saves the need to read status register 2 every interrupt or polling cycle. table xi. register 0x42 ?interrupt status register 2 (power-on default = 0x00) bit name read/write description <0> 12 v read-only a 1 indicates the 12 v high or low limit has been exceeded. this bit is cleared on a read of the status register only if the error condition has subsided. <1> ovt read-only a 1 indicates that one of the therm overtemperature limits has been exceeded. this bit is cleared on a read of the status register when the temperature drops below therm ?4 c <2> fan1 read-only a 1 indicates that fan 1 has dropped below minimum speed or has stalled. this bit is not set when the pwm 1 output is off. <3> fan2 read-only a 1 indicates that fan 2 has dropped below minimum speed or has stalled. this bit is not set when the pwm 2 output is off. <4> fan3 read-only a 1 indicates that fan 3 has dropped below minimum speed or has stalled. this bit is not set when the pwm 3 output is off. <5> fan4 read-only a 1 indicates that fan 4 has dropped below minimum speed or has stalled. this bit is not set when the pwm 3 output is off. <6> d1 read-only a 1 indicates either an open or short circuit on the thermal diode 1 inputs. <7> d2 read-only a 1 indicates either an open or short circuit on the thermal diode 2 inputs.
rev. a adm1027 ?5 table xii. register 0x43 ?vid register (power-on default = 0x00 ) bit name r/w description <4:0> vid[4:0] read-only the vid[4:0] inputs from the cpu to indicate the expected processor core voltage. on power-up, these bits reflect the state of the vid pins, even if monitoring is not enabled. <7:5> reserved read-only reserved for future use. table xiii. voltage limit registers register address r/w description power-on default 0x44 read/write 2.5 v low limit 0x00 0x45 read/write 2.5 v high limit 0xff 0x46 read/write v ccp low limit 0x00 0x47 read/write v ccp high limit 0xff 0x48 read/write v cc low limit 0x00 0x49 read/write v cc high limit 0xff 0x4a read/write 5 v low limit 0x00 0x4b read/write 5 v high limit 0xff 0x4c read/write 12 v low limit 0x00 0x4d read/write 12 v high limit 0xff setting the configuration register 1 lock bit has no effect on these registers. high limits: an interrupt is generated when a value exceeds its high limit ( > comparison). low limits: an interrupt is generated when a value is equal to or below its low limit ( comparison). table xiv. temperature limit registers register address r/w description power-on default 0x4e read/write remote 1 temperature low limit 0x81 0x4f read/write remote 1 temperature high limit 0x7f 0x50 read/write local temperature low limit 0x81 0x51 read/write local temperature high limit 0x7f 0x52 read/write remote 2 temperature low limit 0x81 0x53 read/write remote 2 temperature high limit 0x7f exceeding any of these temperature limits by 1 o c will cause the appropriate status bit to be set in the interrupt s tatus register. setting the configuration register 1 lock bit has no effect on these registers. high limits: an interrupt is generated when a value exceeds its high limit ( > comparison). low limits: an interrupt is generated when a value is equal to or below its low limit ( comparison).
rev. a ?6 adm1027 table xv. fan tachometer limit registers register address r/w description power-on default 0x54 read/write tach 1 minimum low byte 0xff 0x55 read/write tach 1 minimum high byte 0xff 0x56 read/write tach 2 minimum low byte 0xff 0x57 read/write tach 2 minimum high byte 0xff 0x58 read/write tach 3 minimum low byte 0xff 0x59 read/write tach 3 minimum high byte 0xff 0x5a read/write tach 4 minimum low byte 0xff 0x5b read/write tach 4 minimum high byte 0xff exceeding any of the tach limit registers by 1 indicates that the fan is running too slowly or has stalled. the appropriate sta tus bit will be set in interrupt status register 2 to indicate the fan failure. setting the configuration register 1 lock bit has no ef fect on these registers. table xvi. pwm configuration registers register address r/w description power-on default 0x5c read/write pwm1 configuration 0x62 0x5d read/write pwm2 configuration 0x62 0x5e read/write pwm3 configuration 0x62 bit name read/write description <2:0> spin read/write these bits control the startup timeout for pwmx. the pwm output stays high until two (fan startup valid tach rising edges are seen from the fan. if there is not a valid tach signal during timeout) the fan tach measurement directly after the fan startup timeout period, then the tach measurement will read 0xffff and status register 2 will reflect the fan fault. if the tach minimum high and low byte contains 0xffff or 0x0000, then the status register 2 bit will not be set, even if the fan has not started. 000 = no startup timeout 001 = 100 ms 010 = 250 ms (default) 011 = 400 ms 101 = 1 sec 110 = 2 sec 111 = 4 sec note: do not program 100. <3> reserved read-only reserved for future use. <4> inv read/write this bit inverts the pwm output. the default is 0, which corresponds to a logic high output for 100% duty cycle. setting this bit to 1, inverts the pwm output, so 100% duty cycle corresponds to a logic low output. <7:5> bhvr read/write these bits assign each fan to a particular temperature sensor for localized cooling. 000 = remote 1 temperature controls pwmx (automatic fan control mode). 001 = local temperature controls pwmx (automatic fan control mode). 010 = remote 2 temperature controls pwmx (automatic fan control mode). 011 = pwmx runs full speed (default). 100 = pwmx disabled. 101 = fastest speed calculated by local and remote 2 temperature controls pwmx. 110 = fastest speed calculated by all three temperatures controls pwmx. 111 = manual mode. pwm duty cycle registers (reg. 0x30 to 0x32) become writable. these registers become read-only when the configuration register 1 lock bit is set to 1. any subsequent attempts to write to th ese registers will fail.
rev. a adm1027 ?7 table xvii. temp t range /pwm frequency registers register address r/w description power-on default 0x5f read/write remote 1 t range /pwm 1 frequency 0xc4 0x60 read/write local temperature t range /pwm 2 frequency 0xc4 0x61 read/write remote 2 t range /pwm 3 frequency 0xc4 bit name read/write description <2:0> freq read/write these bits control the pwmx frequency. 000 = 11.0 hz 001 = 14.7 hz 010 = 22.1 hz 011 = 29.4 hz 100 = 35.3 hz (default) 101 = 44.1 hz 110 = 58.8 hz 111 = 88.2 hz <3> reserved read/write reserved for future use. <7:4> range read/write these bits determine the pwm duty cycle versus temperature slope for automatic fan control. 0000 = 2 o c 0001 = 2.5 o c 0010 = 3.33 o c 0011 = 4 o c 0100 = 5 o c 0101 = 6.67 o c 0110 = 8 o c 0111 = 10 o c 1000 = 13.33 o c 1001 = 16 o c 1010 = 20 o c 1011 = 26.67 o c 1100 = 32 o c (default) 1101 = 40 o c 1110 = 53.33 o c 1111 = 80 o c these registers become read-only when the configuration register 1 lock bit is set. any further attempts to write to these regi sters will have no effect.
rev. a ?8 adm1027 table xviii. register 0x62 ?enhance acoustics register 1 (power-on default = 0x00) bit name r/w description <2:0> acou read-only these bits select the ramp rate applied to the pwm1 output. instead of pwm1 jump- ing instantaneously to its newly calculated speed, pwm1 will ramp gracefully at the rate determined by these bits. this feature enhances the acoustics of the fan being driven by the pwm1 output. time slot increase time for 33% to 100% 000 = 1 35 sec 001 = 2 17.6 sec 010 = 3 1.8 sec 011 = 5 7 sec 100 = 8 4.4 sec 101 = 12 3 sec 110 = 24 1.6 sec 111 = 48 0.8 sec <3> en1 read/write when this bit is 1, acoustic enhancement is enabled on pwm1 output. when acoustic enhancement is enabled, fan spin-up time should be disabled. <4> reserved read-only reserved for future use. <5> min1 read/write when the adm1027 is in automatic fan control mode, this bit defines whether pwm 1 is off (0% duty cycle) or at pwm 1 minimum duty cycle when the controlling temperature is below its t min ?hysteresis value. 0 = 0% duty cycle below t min ?hysteresis 1 = pwm 1 minimum duty cycle below t min ?hysteresis <6> min2 read/write when the adm1027 is in automatic fan speed control mode, this bit defines whether pwm 2 is off (0% duty cycle) or at pwm 2 minimum duty cycle when the controlling temperature is below its t min ?hysteresis value. 0 = 0% duty cycle below t min ?hysteresis 1 = pwm 2 minimum duty cycle below t min ?hysteresis <7> min3 read/write when the adm1027 is in automatic fan speed control mode, this bit defines whether pwm 3 is off (0% duty cycle) or at pwm 3 minimum duty cycle when the controlling temperature is below its t min ?hysteresis value. 0 = 0% duty cycle below t min ?hysteresis 1 = pwm 3 minimum duty cycle below t min ?hysteresis this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this r egister will have no effect.
rev. a adm1027 ?9 table xix. register 0x63 ?enhance acoustics register 2 (power-on default = 0x00) bit name r/w description <2:0> acou3 read/write these bits select the ramp rate applied to the pwm3 output. instead of pwm3 jumping instantaneously to its newly calculated speed, pwm3 will ramp gracefully at the rate determined by these bits. this effect enhances the acoustics of the fan being driven by the pwm3 output. time slot increase time for 33% to 100% 000 = 1 35 sec 001 = 2 17.6 sec 010 = 3 11.8 sec 011 = 5 7 sec 100 = 8 4.4 sec 101 = 12 3 sec 110 = 24 1.6 sec 111 = 48 0.8 sec <3> en3 read/write when this bit is 1, acoustic enhancement is enabled on pwm3 output. when acoustic enhancement is enabled, fan spin-up time should be disabled. <6:4> acou2 read/write these bits select the ramp rate applied to the pwm2 output. instead of pwm2 jumping instantaneously to its newly calculated speed, pwm2 will ramp gracefully at the rate determined by these bits. this effect enhances the acoustics of the fans being driven by the pwm2 output. time slot increase time for 33% to 100% 000 = 1 35 sec 001 = 2 17.6 sec 010 = 3 11.8 sec 011 = 5 7 sec 100 = 8 4.4 sec 101 = 12 3 sec 110 = 24 1.6 sec 111 = 48 0.8 sec <7> en2 read/write when this bit is 1, acoustic enhancement is enabled on pwm2 output. when acoustic enhancement is enabled, fan spin-up time should be disabled. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this r egister will have no effect.
rev. a ?0 adm1027 table xx. pwm minimum duty cycle registers register address r/w description power-on default 0x64 read/write pwm1 minimum duty cycle 0x80 (50% duty cycle) 0x65 read/write pwm2 minimum duty cycle 0x80 (50% duty cycle) 0x66 read/write pwm3 minimum duty cycle 0x80 (50% duty cycle) bit name read/write description <7:0> pwm duty read/write these bits define the pwm min duty cycle for the pwmx output. 0x00 = 0% duty cycle (fan off) 0x40 = 25% duty cycle 0x80 = 50% duty cycle 0xff = 100% duty cycle (fan full speed) these registers become read-only when the adm1027 is in automatic fan control mode. table xxi. t min registers register address r/w description power-on default 0x67 read/write remote 1 temperature t min 0x5a (90 o c) 0x68 read/write local temperature t min 0x5a (90 o c) 0x69 read/write remote 2 temperature t min 0x5a (90 o c) these are the t min registers for each temperature channel. when the temperature measured exceeds t min , the appropriate fan will run at minimum speed and increase with temperature according to t range . these registers become read-only when the configuration register 1 lock bit is set. any further attempts to write to these regi sters will have no effect. table xxii. therm limit registers register address r/w description power-on default 0x6a read/write remote 1 therm limit 0x64 (100 o c) 0x6b read/write local therm limit 0x64 (100 o c) 0x6c read/write remote 2 therm limit 0x64 (100 o c) if any temperature measured exceeds its therm limit, all pwm outputs will drive their fans at 100% duty cycle. this is a fail-s afe mechanism incorporated to cool the system in the event of a critical overtemperature. it also ensures some level of cooling in the event that software or hardware locks up. if set to 0x80, this feature is disabled. the pwm output will remain at 100% until th e temperature drops below therm limit ?4 c . these registers become read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to these regis ters will have no effect. table xxiii. temperature hysteresis registers register address r/w description power-on default 0x6d read/write remote 1, local temperature hysteresis 0x44 0x6e read/write remote 2 temperature hysteresis 0x40 each 4-bit value controls the amount of temperature hysteresis applied to a particular temperature channel. once the temperatur e for that channel falls below its t min value, the fan will remain running at pwm min duty cycle until the temperature = t min ?hysteresis. up to 15 o c of hysteresis may be assigned to any temperature channel. setting the hysteresis value lower than 4 o c will cause the fan to switch on and off regularly when the temperature is close to t min . these registers become read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to these regis ters will have no effect.
rev. a adm1027 ?1 table xxiv. xor tree test enable register address r/w description power-on default 0x6f read/write xor tree test enable register 0x00 <0> xen if the xen bit is set to 1, the device enters the xor tree test mode. clearing the bit removes the device from the xor tree test mode. <7:1> reserved unused. do not write to these bits. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this r egister will have no effect. table xxv. remote 1 temperature offset register address r/w description power-on default 0x70 read/write remote 1 temperature offset 0x00 <7:0> read/write allows a twos complement offset value to be automatically added to or subtracted from the remote 1 temperature reading. this is to compensate for any inherent system offsets such as pcb trace resistance. lsb value = 1 o c. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this r egister will have no effect. table xxvi. local temperature offset register address r/w description power-on default 0x71 read/write local temperature offset 0x00 <7:0> read/write allows a twos complement offset value to be automatically added to or subtracted from the local temperature reading. lsb value = 1 o c. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this r egister will have no effect. table xxvii. remote 2 temperature offset register address r/w description power-on default 0x72 read/write remote 2 temperature offset 0x00 <7:0> read/write allows a twos complement offset value to be automatically added to or subtracted from the remote 2 temperature reading. this is to compensate for any inherent system off- sets such as pcb trace resistance. lsb value = 1 o c. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this r egister will have no effect.
rev. a ?2 adm1027 table xxviii. register 0x73 ?configuration register 2 (power-on default = 0x00) bit name r/w description 0 ain1 read/write ain1 = 0, speed of 3-wire fans measured using the tach output from the fan. ain1 = 1, pin 11 is reconfigured to measure the speed of 2-wire fans using an external sensing resistor and coupling capacitor. 1 ain2 read/write ain2 = 0, speed of 3-wire fans measured using the tach output from the fan. ain2 = 1, pin 12 is reconfigured to measure the speed of 2-wire fans using an external sensing resistor and coupling capacitor. 2 ain3 read/write ain3 = 0, speed of 3-wire fans measured using the tach output from the fan. ain3 = 1, pin 9 is reconfigured to measure the speed of 2-wire fans using an external sensing resistor and coupling capacitor. 3 ain4 read/write ain4 = 0, speed of 3-wire fans measured using the tach output from the fan. ain4 = 1, pin 14 is reconfigured to measure the speed of 2-wire fans using an external sensing resistor and coupling capacitor. 4 avg read/write avg = 1, averaging on the temperature and voltage measurements is turned off. this allows measurements on each channel to be made much faster. 5 attn read/write attn = 1, the adm1027 removes the attenuators from the 2.5 v, v ccp , 5 v, and 12 v inputs. the inputs can be used for other functions such as connecting up external sensors. 6 conv read/write conv = 1, the adm1027 is put into a single-channel adc conversion mode. in this mode, the adm1027 can be made to read continuously from one input only, e.g., remote 1 temperature. it is also possible to start adc conversions using an external clock on pin 11 by setting bit 2 of test register 2 (reg. 0x7f). this mode could be useful if, for example, the user wanted to characterize/profile cpu temperature quickly. the appropriate adc channel is selected by writing to bits <7:5> of tach1 minimum high byte register (0x55). bits <7:5> reg. 0x55 channel selected ` 000 2.5 v 001 v ccp 010 v cc (3.3 v) 011 5 v 100 12 v 101 remote 1 temp 110 local temp 111 remote 2 temp 7r eserved read/write reserved for future use this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this r egister will have no effect.
rev. a adm1027 ?3 table xxix. register 0x74 ?interrupt mask register 1 (power-on default <7:0> = 0x00) bit name r/w description 0 2.5 v read/write a 1 masks smbalert for out-of-limit conditions on the 2.5 v channel. 1v ccp read/write a 1 masks smbalert for out-of-limit conditions on the v ccp channel. 2v cc read/write a 1 masks smbalert for out-of-limit conditions on the v cc channel. 35 v read/write a 1 masks smbalert for out-of-limit conditions on the 5 v channel. 4 r1t read/write a 1 masks smbalert for out-of-limit conditions on the remote 1 temperature channel. 5l t read/write a 1 masks smbalert for out-of-limit conditions on the local temperature channel. 6 r2t read/write a 1 masks smbalert for out-of-limit conditions on the remote 2 temperature channel. 7 ool read/write this bit needs to be set to 1 to allow masking in the interrupt mask register 2. if this bit is not set to 1, then setting a bit in mask register 2 will have no effect. table xxx. register 0x75 ?interrupt mask register 2 (power-on default <7:0> = 0x00) bit name r/w description 0 12 v read/write a 1 masks smbalert for out-of-limit conditions on the 12 v channel. 1 ovt read-only a 1 masks smbalert for overtemperature therm conditions. 2 fan1 read/write a 1 masks smbalert for a fan 1 fault. 3 fan2 read/write a 1 masks smbalert for a fan 2 fault. 4 fan3 read/write a 1 masks smbalert for a fan 3 fault. 5 fan4 read/write a 1 masks smbalert for a fan 4 fault. 6d 1 read/write a 1 masks smbalert for a diode open or short on remote 1 channel. 7d 2 read/write a 1 masks smbalert for a diode open or short on remote 2 channel. table xxxi. register 0x76 ?extended resolution register 1 bit name r/w description <1:0> 2.5 v read-only 2.5 v lsbs. holds the 2 lsbs of the 10-bit 2.5 v measurement. <3:2> v ccp read-only v ccp lsbs. holds the 2 lsbs of the 10-bit v ccp measurement. <5:4> v cc read-only v cc lsbs. holds the 2 lsbs of the 10-bit v cc measurement. <7:6> 5 v read-only 5 v lsbs. holds the 2 lsbs of the 10-bit 5 v measurement. if this register is read, this register and the registers holding the msb of each reading are frozen until read. table xxxii. register 0x77 ?extended resolution register 2 bit name r/w description <1:0> 12 v read-only 12 v lsbs. holds the 2 lsbs of the 10-bit 12 v measurement. <3:2> tdm1 read-only remote 1 temperature lsbs. holds the 2 lsbs of the 10-bit remote 1 temperature measurement. <5:4> ltmp read-only local temperature lsbs. holds the 2 lsbs of the 10-bit local temperature measurement. <7:6> tdm2 read-only remote 2 temperature lsbs. holds the 2 lsbs of the 10-bit remote 2 temperature measurement. if this register is read, this register and the registers holding the msb of each reading are frozen until read.
rev. a ?4 adm1027 table xxxiii. register 0x78 ?configuration register 3 (power-on default = 0x00) bit name r/w description <0> alert read/write alert = 1, pin 10 (pwm2/ smbalert ) is configured as an smbalert interrupt output to indicate out-of-limit error conditions. default = 0 = pwm2. <1> reserved read/write reserved for future use. <2> reserved read/write reserved for future use. <3> fast read/write fast = 1 enables fast tach measurements on all channels. this increases the tach measurement rate from once per second, to once per 250 ms (4 ). <4> dc1 read/write dc1 = 1 enables tach measurements to be continuously made on tach1. <5> dc2 read/write dc2 = 2 enables tach measurements to be continuously made on tach2. <6> dc3 read/write dc3 = 1 enables tach measurements to be continuously made on tach3. <7> dc4 read/write dc4 = 1 enables tach measurements to be continuously made on tach4. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this r egister will have no effect. table xxxiv. register 0x7b ?fan pulses per revolution register (power on default = 0x55) bit name r/w description <1:0> fan1 read/write sets number of pulses to be counted when measuring fan1 speed. can be used to determine fan? pulses per revolution number for unknown fan type. pulses counted 00 = 1 01 = 2 (default) 10 = 3 11 = 4 <3:2> fan2 read/write sets number of pulses to be counted when measuring fan2 speed. can be used to determine fan? pulses per revolution number for unknown fan type. pulses counted 00 = 1 01 = 2 (default) 10 = 3 11 = 4 <5:4> fan3 read/write sets number of pulses to be counted when measuring fan3 speed. can be used to determine fan? pulses per revolution for unknown fan type. pulses counted 00 = 1 01 = 2 (default) 10 = 3 11 = 4 <7:6> fan4 read/write sets number of pulses to be counted when measuring fan4 speed. can be used to determine fan? pulses per revolution for unknown fan type. pulses counted 00 = 1 01 = 2 (default) 10 = 3 11 = 4
rev. a adm1027 ?5 table xxxv. register 0x7e ?manufacturer? test register 1 (power-on default = 0x00) bit name read/write description <7:0> reserved read-only manufacturer? test register. these bits are reserved for the manufacturer? test purposes and should not be written to under normal operation. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this r egister will have no effect. table xxxvi. register 0x7f ?manufacturer? test register 2 (power-on default = 0x00) bit name read/write description <7:0> reserved read-only manufacturer? test register. these bits are reserved for the manufacturer? test purposes and should not be written to under normal operation. this register becomes read-only when the configuration register 1 lock bit is set to 1. any further attempts to write to this r egister will have no effect.
rev. a c02928??/03(a) ?6 adm1027 revision history location page 3/03?ata sheet changed from rev. 0 to rev. a. changes to nulling out temperature errors section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 changes to tables xxv?xvii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 updated outline dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 outline dimensions 24-lead shrink small outline package [qsop] (rq-24) dimensions shown in millimeters and (inches) 24 13 12 1 0.236 bsc pin 1 0.154 bsc seating plane 0.010 0.004 0.012 0.008 0.025 bsc 0.069 0.053 0.010 0.006 0.050 0.016 8  0  0.065 0.049 coplanarity 0.004 0.341 bsc compliant to jedec standards mo-137ae


▲Up To Search▲   

 
Price & Availability of AMD1027

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X